The publishing date is now in a time tag

This commit is contained in:
Luca Chiricozzi 2015-01-01 12:37:13 +01:00
parent 0fc3dd1c08
commit beb6d75d5f

View File

@ -8,7 +8,7 @@
<article class="uk-article">
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-article-title uk-link-muted">{{ article.title }}</a>
<p class="uk-article-meta">{{ article.locale_date}} • <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% if DISQUS_SITENAME %} • <i class="uk-icon-comment"></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread"></a>{% endif %}</p>
<p class="uk-article-meta"><time datetime="{{ article.date.strftime('%Y-%m-%d') }}">{{ article.locale_date }}</time><a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% if DISQUS_SITENAME %} • <i class="uk-icon-comment"></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread"></a>{% endif %}</p>
</p>
<p class="uk-article-lead">{{ article.summary|striptags }}</p>
<p>{{ ' '.join(article.content.split(' ')[0:100])|striptags }}...</p>