From 9ae135f8164b715991acda83ca7c343725f7214a Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Fri, 14 Aug 2020 13:56:16 +0200 Subject: [PATCH] feat(PublicPages): add some meta data --- views/countdown.twig | 8 +------- views/home-metas.twig | 23 +++++++++++++++++++++++ views/home.twig | 8 ++------ 3 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 views/home-metas.twig diff --git a/views/countdown.twig b/views/countdown.twig index ae23295..e1983f7 100644 --- a/views/countdown.twig +++ b/views/countdown.twig @@ -1,13 +1,7 @@ {% extends "./base.twig" %} {% block title %}Accueil{% endblock %} {% block head %} - - - - - - - + {% include './home-metas.twig' %} {% endblock %} {% block content %} diff --git a/views/home-metas.twig b/views/home-metas.twig new file mode 100644 index 0000000..3eab35d --- /dev/null +++ b/views/home-metas.twig @@ -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" %} + + + + + + + + + + + + + + + + + + + + + + diff --git a/views/home.twig b/views/home.twig index 8b323f6..6bf1216 100644 --- a/views/home.twig +++ b/views/home.twig @@ -1,12 +1,8 @@ {% extends "./base.twig" %} {% block title %}Accueil{% endblock %} {% block head %} - - - - - - + {% include './home-metas.twig' %} + {% endblock %} {% block content %}