2017-08-14 23:39:41 +00:00
|
|
|
<article class="uk-article mg-fadeable" itemtype="http://schema.org/BlogPosting" itemscope="itemscope" itemprop="blogPost"
|
2017-08-15 21:57:43 +00:00
|
|
|
data-tags='{{ article.tags|map(attribute="name")|list|tojson }}'>
|
2017-08-13 18:36:09 +00:00
|
|
|
<div class="mg-article-short">
|
|
|
|
{% if article.featured_image %}
|
2017-12-04 22:53:23 +00:00
|
|
|
<div class="lazyload" data-noscript=""><noscript><img src="{{ article.featured_image }}" alt=""></noscript></div>
|
2017-08-13 18:36:09 +00:00
|
|
|
{% endif %}
|
|
|
|
<div class="mg-article-content">
|
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 23:46:21 +00:00
|
|
|
{% if DISQUS_SITENAME %} • <br class="uk-visible@s"><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>
|
2017-08-13 18:36:09 +00:00
|
|
|
<p class="uk-article-lead" itemprop="description">{{ article.summary|striptags|striptags }}</p>
|
|
|
|
{% if not MG_DISABLE_SUMMARY %}<p>{{ ' '.join(article.content.split(' ')[:75])|striptags|striptags }}...</p>{% endif %}
|
|
|
|
<a href="{{ SITEURL }}/{{ article.url }}">Read More</a>
|
|
|
|
{% include "partials/inline-tags.html" %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-09 00:11:13 +00:00
|
|
|
<hr class="uk-article-divider">
|
2017-12-04 22:56:15 +00:00
|
|
|
</article>
|