diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-02-19 21:53:26 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-02-19 21:53:26 +0100 |
commit | 58c838e31374d80431e5e2c1ac0f48d1802c5d95 (patch) | |
tree | c7c70bb4f644290ddd9e40d770dfad9c8fddb9fa /src/templates/entry.html | |
parent | d407af65cad96d5edee927aec66ae4cc07edeb7a (diff) | |
download | website-58c838e31374d80431e5e2c1ac0f48d1802c5d95.tar.xz |
Add keyword/description support to templates
Diffstat (limited to 'src/templates/entry.html')
-rw-r--r-- | src/templates/entry.html | 6 |
1 files changed, 6 insertions, 0 deletions
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 %} <link href="isso.css" rel="stylesheet"> <link href="../journal.xml" type="application/atom+xml" rel="alternate" title="kyrias’ journal atom feed" /> + {% if page.meta_desc is defined %} + <meta name="description" content="{{ page.meta_desc }}"> + {% endif %} + {% if page.meta_keywords is defined %} + <meta name="keywords" content="{{ page.meta_keywords }}"> + {% endif %} {% endblock head %} {% block content %} |