Remove extensions from _includes to simplify naming

This commit is contained in:
Michael Rose
2016-03-07 10:27:07 -05:00
parent 0ccaef5a96
commit 3bd495f1d4
35 changed files with 148 additions and 156 deletions

View File

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