Remove extensions from _includes to simplify naming
This commit is contained in:
@@ -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 %}
|
||||
Reference in New Issue
Block a user