From 6105742b3503ca545357dc0d9a0b2e80fc139a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Iranzo=20G=C3=B3mez?= Date: Wed, 22 Jan 2020 20:29:40 +0100 Subject: [PATCH] (feat): SEO: Add frontpage meta keywords tags based on all articles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pablo Iranzo Gómez --- templates/base.html | 1 + templates/index.html | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/templates/base.html b/templates/base.html index 4b81c2d1f..854ceb572 100644 --- a/templates/base.html +++ b/templates/base.html @@ -24,6 +24,7 @@ {% from '_includes/_defaults.html' import SITE_DESCRIPTION with context %} {% if SITE_DESCRIPTION %} + {% endif %} {% block meta_tags_in_head %} {% from '_includes/_defaults.html' import TWITTER_USERNAME with context %} diff --git a/templates/index.html b/templates/index.html index 316d52569..0a90f1dfc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,7 +7,7 @@ {% block meta_tags_in_head %} {{ super() }} {% from '_includes/_defaults.html' import LANDING_PAGE_TITLE with context %} -{% if LANDING_PAGE_TITLE %} +{% if LANDING_PAGE_TITLE %} {% else %} @@ -15,11 +15,6 @@ {% endif %} -{% from '_includes/_defaults.html' import SITE_DESCRIPTION with context %} -{% if SITE_DESCRIPTION %} - - -{% endif %} {% from '_includes/_defaults.html' import FEATURED_IMAGE with context %} @@ -27,6 +22,7 @@ {% endif %} + {% endblock meta_tags_in_head %} {% block content %}