aboutsummaryrefslogtreecommitdiffstats
path: root/foundation-default-colours
diff options
context:
space:
mode:
authorKenton Hamaluik <kenton@hamaluik.com>2014-01-26 20:48:46 -0700
committerKenton Hamaluik <kenton@hamaluik.com>2014-01-26 20:48:46 -0700
commit3923cd0725ff9257da226dbeca74d36422d34fb5 (patch)
tree9b35ed9aa8236d7c1a2766e00d2f2352df1e0dae /foundation-default-colours
parentf73be382f127766875cbd75fab16e8421997d52d (diff)
downloadpelican-themes-3923cd0725ff9257da226dbeca74d36422d34fb5.tar.gz
Added metadata to articles
Diffstat (limited to 'foundation-default-colours')
-rw-r--r--foundation-default-colours/templates/article.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/foundation-default-colours/templates/article.html b/foundation-default-colours/templates/article.html
index 519295f..1528309 100644
--- a/foundation-default-colours/templates/article.html
+++ b/foundation-default-colours/templates/article.html
@@ -4,7 +4,8 @@
<article>
<h2>{{ article.title }}</h2>
{{ article.content }}
- <h6>Written by <a href="{{ SITEURL }}/author/{{ article.author|lower|replace(' ', '-') }}.html">{{ article.author }}</a> on {{ article.locale_date }}.</h6>
+ <hr/>
+ <h6>Written by <a href="{{ SITEURL }}/author/{{ article.author|lower|replace(' ', '-') }}.html">{{ article.author }}</a> {% if article.category %}in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category}}</a> {% endif %}on {{ article.locale_date }}.{% if article.tags|count > 0 %} Tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>, {% endfor %}{% endif %}</h6>
</article>
<hr/>