pelican-mg/templates/partials/article-excerpt.html

14 lines
1.1 KiB
HTML
Raw Normal View History

<article class="uk-article" itemtype="http://schema.org/BlogPosting" itemscope="itemscope" itemprop="blogPost">
2017-10-27 06:55:38 +00:00
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-link-muted"><h2 class="uk-article-title" itemprop="name">{{ article.title|e }}</h2></a>
2017-08-15 17:43:05 +00:00
<p class="uk-article-meta"><time datetime="{{ article.date.strftime('%Y-%m-%d') }}" itemprop="datePublished">{{ article.locale_date }}</time>
{% if CATEGORY_SAVE_AS %} • <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}
2019-05-28 05:42:17 +00:00
{% if DISQUS_SITENAME %} • <br class="uk-visible-small"><i class="fas fa-comments"></i></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread" itemprop="discussionUrl"></a>{% endif %}
2017-08-15 17:43:05 +00:00
</p>
2019-05-28 05:42:17 +00:00
{% if not MG_DISABLE_SUMMARY %}<p class="uk-text-lead" itemprop="description">{{ article.summary|striptags|striptags }}</p>{% endif %}
<section class="uk-article-content" itemprop="articleBody">{{ article.content }}</section>
2017-08-09 00:52:31 +00:00
{% include "partials/inline-tags.html" %}
<a href="{{ SITEURL }}/{{ article.url }}#disqus_thread"></a>
2019-05-28 05:42:17 +00:00
<hr class="uk-divider-icon">
</article>