Add pages to sitemap

This commit is contained in:
Michael Rose 2014-02-17 08:20:21 -05:00
parent e069fc3334
commit 44b135db43

View file

@ -7,6 +7,12 @@ layout: nil
<loc>{{ site.url }}</loc> <loc>{{ site.url }}</loc>
</url> </url>
{% for page in site.pages %}
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
</url>
{% endfor %}
{% for post in site.posts %} {% for post in site.posts %}
<url> <url>
<loc>{{ site.url }}{{ post.url }}</loc> <loc>{{ site.url }}{{ post.url }}</loc>