Added metadata to articles

This commit is contained in:
Kenton Hamaluik
2014-01-26 20:48:46 -07:00
parent f73be382f1
commit 3923cd0725

View File

@@ -4,7 +4,8 @@
<article> <article>
<h2>{{ article.title }}</h2> <h2>{{ article.title }}</h2>
{{ article.content }} {{ 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> </article>
<hr/> <hr/>