From 3923cd0725ff9257da226dbeca74d36422d34fb5 Mon Sep 17 00:00:00 2001 From: Kenton Hamaluik Date: Sun, 26 Jan 2014 20:48:46 -0700 Subject: Added metadata to articles --- foundation-default-colours/templates/article.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'foundation-default-colours') 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.title }}

{{ article.content }} -
Written by {{ article.author }} on {{ article.locale_date }}.
+
+
Written by {{ article.author }} {% if article.category %}in {{ article.category}} {% endif %}on {{ article.locale_date }}.{% if article.tags|count > 0 %} Tags: {% for tag in article.tags %}{{ tag }}, {% endfor %}{% endif %}

-- cgit v1.1