hacks-guide-minimal-mistake.../_includes/post-single.html
2016-03-05 22:11:00 -05:00

8 lines
No EOL
519 B
HTML

<article itemscope itemtype="http://schema.org/CreativeWork">
{% if post.link %}
<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>
{% else %}
<h2 itemprop="headline"><a href="{{ absurl }}{{ post.url }}">{{ post.title }}</a></h2>
{% endif %}
{% if post.excerpt %}<p itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
</article>