hacks-guide-minimal-mistake.../_includes/post-single.html

8 lines
519 B
HTML
Raw Normal View History

2016-03-06 03:29:39 +01:00
<article itemscope itemtype="http://schema.org/CreativeWork">
{% if post.link %}
2016-03-06 04:11:00 +01:00
<h2 class="link-post" itemprop="headline"><a href="{{ absurl }}{{ post.url }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank"><i class="fa fa-link"></i></a></h2>
2016-03-06 03:29:39 +01:00
{% else %}
2016-03-06 04:11:00 +01:00
<h2 itemprop="headline"><a href="{{ absurl }}{{ post.url }}">{{ post.title }}</a></h2>
2016-03-06 03:29:39 +01:00
{% endif %}
2016-03-06 04:11:00 +01:00
{% if post.excerpt %}<p itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
2016-03-06 03:29:39 +01:00
</article>