mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 16:32:40 +00:00
The publishing date is now in a time tag
This commit is contained in:
parent
0fc3dd1c08
commit
beb6d75d5f
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<article class="uk-article">
|
<article class="uk-article">
|
||||||
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-article-title uk-link-muted">{{ article.title }}</a>
|
<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>
|
||||||
<p class="uk-article-lead">{{ article.summary|striptags }}</p>
|
<p class="uk-article-lead">{{ article.summary|striptags }}</p>
|
||||||
<p>{{ ' '.join(article.content.split(' ')[0:100])|striptags }}...</p>
|
<p>{{ ' '.join(article.content.split(' ')[0:100])|striptags }}...</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user