From 9919b308104fb5433a6e0e94b8e6453482cad096 Mon Sep 17 00:00:00 2001 From: Alberto Scotto Date: Wed, 8 Apr 2015 03:29:26 +0200 Subject: [PATCH] apply #1057 to notmyidea --- pelican/themes/notmyidea/templates/article.html | 16 ++++++++++++++++ pelican/themes/notmyidea/templates/base.html | 2 ++ 2 files changed, 18 insertions(+) diff --git a/pelican/themes/notmyidea/templates/article.html b/pelican/themes/notmyidea/templates/article.html index 06110b43..5566cec2 100644 --- a/pelican/themes/notmyidea/templates/article.html +++ b/pelican/themes/notmyidea/templates/article.html @@ -1,4 +1,20 @@ {% extends "base.html" %} +{% block head %} + {{ super() }} + {% for keyword in article.keywords %} + + {% endfor %} + + {% for description in article.description %} + + {% endfor %} + + {% for tag in article.tags %} + + {% endfor %} + +{% endblock %} + {% block title %}{{ article.title|striptags }}{% endblock %} {% block content %}
diff --git a/pelican/themes/notmyidea/templates/base.html b/pelican/themes/notmyidea/templates/base.html index d6b4cb35..e222ead0 100644 --- a/pelican/themes/notmyidea/templates/base.html +++ b/pelican/themes/notmyidea/templates/base.html @@ -1,6 +1,7 @@ + {% block head %} {% block title %}{{ SITENAME }}{%endblock%} @@ -14,6 +15,7 @@ + {% endblock head %}