The publishing date is now in a time tag

This commit is contained in:
Luca Chiricozzi 2015-01-01 12:36:42 +01:00
parent d38e7e79b3
commit 0fc3dd1c08

View File

@ -9,7 +9,9 @@
{% for article in dates %} {% for article in dates %}
<article class="uk-article"> <article class="uk-article">
<a href="{{ article.url }}" class="uk-article-title uk-link-muted">{{ article.title }}</a> <a href="{{ article.url }}" class="uk-article-title uk-link-muted">{{ article.title }}</a>
<p class="uk-article-meta">{{ article.locale_date }}</p> <p class="uk-article-meta">
<time datetime="{{ article.date.strftime('%Y-%m-%d') }}">{{ article.locale_date }}</time>
</p>
<p class="uk-article-lead">{{ article.summary }}</p> <p class="uk-article-lead">{{ article.summary }}</p>
<hr class="uk-article-divider"> <hr class="uk-article-divider">
</article> </article>