From 58c838e31374d80431e5e2c1ac0f48d1802c5d95 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 19 Feb 2015 21:53:26 +0100 Subject: Add keyword/description support to templates --- src/templates/entry.html | 6 ++++++ src/templates/page.html | 9 +++++++++ 2 files changed, 15 insertions(+) (limited to 'src') diff --git a/src/templates/entry.html b/src/templates/entry.html index 4335bbf..9cd4f78 100644 --- a/src/templates/entry.html +++ b/src/templates/entry.html @@ -3,6 +3,12 @@ {% block head %} + {% if page.meta_desc is defined %} + + {% endif %} + {% if page.meta_keywords is defined %} + + {% endif %} {% endblock head %} {% block content %} diff --git a/src/templates/page.html b/src/templates/page.html index 3c5d29a..fab4c1e 100644 --- a/src/templates/page.html +++ b/src/templates/page.html @@ -1,5 +1,14 @@ {% extends 'layout.html' %} +{% block head %} + {% if page.meta_desc is defined %} + + {% endif %} + {% if page.meta_keywords is defined %} + + {% endif %} +{% endblock head %} + {% block content %}
-- cgit v1.2.3-70-g09d2