Add file extensions back to non-helper _includes

This commit is contained in:
Michael Rose
2016-03-10 21:13:01 -05:00
parent 8d046af7a9
commit f63b8fe294
33 changed files with 46 additions and 31 deletions

View File

@ -12,6 +12,6 @@ author_profile: false
{% assign posts = group_items[forloop.index0] %}
<h2 class="archive__subtitle">{{ category }}</h2>
{% for post in posts %}
{% include archive-list-single %}
{% include archive-list-single.html %}
{% endfor %}
{% endfor %}

View File

@ -18,7 +18,7 @@ author_profile: false
{% endunless %}
{% for post in collection.docs %}
{% unless collection.output == false or collection.label == 'posts' %}
{% include archive-list-single %}
{% include archive-list-single.html %}
{% endunless %}
{% endfor %}
{% endfor %}

View File

@ -7,5 +7,5 @@ author_profile: false
{% include base_path %}
{% for post in site.pages %}
{% include archive-list-single %}
{% include archive-list-single.html %}
{% endfor %}

View File

@ -11,6 +11,6 @@ permalink: /portfolio/
{% assign posts = group_items[forloop.index0] %}
<h2 class="archive__subtitle">{{ category }}</h2>
{% for post in posts %}
{% include archive-list-single %}
{% include archive-list-single.html %}
{% endfor %}
{% endfor %}

View File

@ -12,6 +12,6 @@ author_profile: false
{% assign posts = group_items[forloop.index0] %}
<h2 class="archive__subtitle">{{ category }}</h2>
{% for post in posts %}
{% include archive-list-single %}
{% include archive-list-single.html %}
{% endfor %}
{% endfor %}

View File

@ -11,12 +11,12 @@ A list of all the posts and pages found on the site. For you robots out there is
<h2>Pages</h2>
{% for post in site.pages %}
{% include archive-list-single %}
{% include archive-list-single.html %}
{% endfor %}
<h2>Posts</h2>
{% for post in site.posts %}
{% include archive-list-single %}
{% include archive-list-single.html %}
{% endfor %}
{% capture written_label %}'None'{% endcapture %}
@ -31,7 +31,7 @@ A list of all the posts and pages found on the site. For you robots out there is
{% endunless %}
{% for post in collection.docs %}
{% unless collection.output == false or collection.label == 'posts' %}
{% include archive-list-single %}
{% include archive-list-single.html %}
{% endunless %}
{% endfor %}
{% endfor %}

View File

@ -12,6 +12,6 @@ author_profile: false
{% assign posts = group_items[forloop.index0] %}
<h2 class="archive__subtitle">{{ tag }}</h2>
{% for post in posts %}
{% include archive-list-single %}
{% include archive-list-single.html %}
{% endfor %}
{% endfor %}

View File

@ -13,5 +13,5 @@ author_profile: false
<h2 class="archive__subtitle">{{ year }}</h2>
{% capture written_year %}{{ year }}{% endcapture %}
{% endif %}
{% include archive-list-single %}
{% include archive-list-single.html %}
{% endfor %}