2016-03-10 19:06:59 +01:00
|
|
|
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
2016-03-07 16:27:07 +01:00
|
|
|
{% if post.link %}
|
2016-03-10 19:06:59 +01:00
|
|
|
<h2 class="archive__item-title link-post" itemprop="headline"><a href="{{ base_path }}{{ post.url }}">{% if post.id %}{{ post.title | markdownify | remove: "<p>" | remove: "</p>" }}{% else %}{{ post.title }}{% endif %}</a> <a href="{{ post.link }}" target="_blank"><i class="fa fa-link"></i></a></h2>
|
2016-03-07 16:27:07 +01:00
|
|
|
{% else %}
|
2016-03-10 19:06:59 +01:00
|
|
|
<h2 class="archive__item-title" itemprop="headline"><a href="{{ base_path }}{{ post.url }}">{% if post.id %}{{ post.title | markdownify | remove: "<p>" | remove: "</p>" }}{% else %}{{ post.title }}{% endif %}</a></h2>
|
2016-03-07 16:27:07 +01:00
|
|
|
{% endif %}
|
2016-03-10 19:06:59 +01:00
|
|
|
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
2016-03-07 16:27:07 +01:00
|
|
|
</article>
|