feat(PublicPages): add some meta data

This commit is contained in:
Matthieu Bessat 2020-08-14 13:56:16 +02:00
parent 420eb4a096
commit 9ae135f816
3 changed files with 26 additions and 13 deletions

View file

@ -1,13 +1,7 @@
{% extends "./base.twig" %} {% extends "./base.twig" %}
{% block title %}Accueil{% endblock %} {% block title %}Accueil{% endblock %}
{% block head %} {% block head %}
<meta name="description" content="Découvrez la riche vie associative autour de Gaillon-Aubevoye grâce au forum virtuel mis en place par l'Espace Condorcet" /> {% include './home-metas.twig' %}
<meta name="keywords" content="associations,condorcet,espace condorcet,gaillon,aubevoye,forum,virtuel,centre social,village des associations" />
<meta property="og:title" content="Forum virtuel des associations 2020">
<meta property="og:description" content="Découvrez la riche vie associative autour de Gaillon-Aubevoye grâce au forum virtuel mis en place par l'Espace Condorcet">
<meta property="og:image" content="/imgs/espace_condorcet_logo.jpg">
<link rel="stylesheet" href="/styles/countdown.css" /> <link rel="stylesheet" href="/styles/countdown.css" />
{% endblock %} {% endblock %}
{% block content %} {% block content %}

23
views/home-metas.twig Normal file
View file

@ -0,0 +1,23 @@
{% set metaDescription = "Découvrez la riche vie associative autour de Gaillon-Aubevoye grâce au forum virtuel mis en place par l'Espace Condorcet" %}
<meta name="msapplication-TileColor" content="#D35400">
<meta name="msapplication-TileImage" content="/imgs/espace_condorcet_logo.jpg">
<meta name="theme-color" content="#D35400">
<meta name="robots" content="All">
<meta name="author" content="Espace Condorcet Centre Social">
<meta name="description" content="{{ metaDescription }}">
<meta name="keywords" content="associations,condorcet,espace condorcet,gaillon,aubevoye,forum,virtuel,centre social,village des associations">
<meta property="og:title" content="Forum virtuel des associations 2020">
<meta property="og:description" content="{{ metaDescription }}">
<meta property="og:type" content="website">
<meta property="og:image" content="/imgs/espace_condorcet_logo.jpg">
<meta property="og:url" content="https://associations.espacecondorcet.org/">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Forum virtuel des associations 2020">
<meta name="twitter:url" content="https://associations.espacecondorcet.org/">
<meta name="twitter:image:src" content="/imgs/espace_condorcet_logo.jpg">
<meta name="twitter:description" content="{{ metaDescription }}">

View file

@ -1,12 +1,8 @@
{% extends "./base.twig" %} {% extends "./base.twig" %}
{% block title %}Accueil{% endblock %} {% block title %}Accueil{% endblock %}
{% block head %} {% block head %}
<meta name="description" content="Découvrez la riche vie associative autour de Gaillon-Aubevoye grâce au forum virtuel mis en place par l'Espace Condorcet" /> {% include './home-metas.twig' %}
<meta name="keywords" content="associations,condorcet,espace condorcet,gaillon,aubevoye,forum,virtuel,centre social,village des associations" /> <link rel="stylesheet" href="/styles/home.css" />
<meta property="og:title" content="Forum virtuel des associations 2020">
<meta property="og:description" content="Découvrez la riche vie associative autour de Gaillon-Aubevoye grâce au forum virtuel mis en place par l'Espace Condorcet">
<meta property="og:image" content="/imgs/espace_condorcet_logo.jpg">
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="nav"> <div class="nav">