mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-23 00:42:39 +00:00
12 lines
1.1 KiB
HTML
12 lines
1.1 KiB
HTML
<article class="uk-article" itemtype="http://schema.org/BlogPosting" itemscope="itemscope" itemprop="blogPost">
|
|
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-link-muted"><h1 class="uk-article-title" itemprop="name">{{ article.title|e }}</h1></a>
|
|
<p class="uk-article-meta"><time datetime="{{ article.date.strftime('%Y-%m-%d') }}" itemprop="datePublished">{{ article.locale_date }}</time> • <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% if DISQUS_SITENAME %} • <br class="uk-visible-small"><i class="uk-icon-comment"></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread" itemprop="discussionUrl"></a>{% endif %}</p>
|
|
<!--{{ article.summary }}-->
|
|
<p class="uk-article-lead" itemprop="description">{{ article.summary|striptags|striptags }}</p>
|
|
{% if not MG_DISABLE_SUMMARY %}<p>{{ ' '.join(article.content.split(' ')[:SUMMARY_MAX_LENGTH ])|striptags|striptags }}...</p>{% endif %}
|
|
<a href="{{ SITEURL }}/{{ article.url }}">Read More</a>
|
|
{% include "partials/inline-tags.html" %}
|
|
<hr class="uk-article-divider">
|
|
</article>
|
|
|