From: Vladimír Vondruš Date: Sat, 16 Dec 2017 01:22:19 +0000 (+0100) Subject: theme: more harmless template updates. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=53d5d5ba8e68c294f2d749c85d02d73030586c90;p=blog.git theme: more harmless template updates. --- diff --git a/pelican-theme/templates/article.html b/pelican-theme/templates/article.html index d5c7f8eb..bdef82a8 100644 --- a/pelican-theme/templates/article.html +++ b/pelican-theme/templates/article.html @@ -6,8 +6,7 @@ {% endblock %} -{% block head %} - {{- super() -}} +{% block social %} {% if article.description %} {% endif %} diff --git a/pelican-theme/templates/base.html b/pelican-theme/templates/base.html index 97a2bc06..46d14fcc 100644 --- a/pelican-theme/templates/base.html +++ b/pelican-theme/templates/base.html @@ -1,7 +1,6 @@ - {% block head %} {% block title %}{{ SITENAME|e }}{% endblock title %} {% for href in M_CSS_FILES %} @@ -19,7 +18,8 @@ {% if M_THEME_COLOR %} {% endif %} - {% endblock head %} + {% block social %} + {% endblock social %}