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

@@ -5,18 +5,18 @@ permalink: /sitemap/
author_profile: false
---
{% include absolute-url.liquid %}
{% include base_path %}
A list of all the posts and pages found on the site. For you robots out there is an [XML version]({{ absurl }}/sitemap.xml) available for digesting as well.
A list of all the posts and pages found on the site. For you robots out there is an [XML version]({{ base_path }}/sitemap.xml) available for digesting as well.
<h3>Pages</h3>
{% for post in site.pages %}
{% include archive-list-single.html %}
{% include archive-list-single %}
{% endfor %}
<h3>Posts</h3>
{% for post in site.posts %}
{% include archive-list-single.html %}
{% include archive-list-single %}
{% 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.html %}
{% include archive-list-single %}
{% endunless %}
{% endfor %}
{% endfor %}