Commit 3cfc48ce authored by Leon Byford's avatar Leon Byford

fix not displaying redirects on sitemap

parent 4c1b8cb1
......@@ -11,7 +11,7 @@
{% endif %}
{% endfor %}
{% for page in site.pages %}
{% unless page.url contains "." or page.url == "/tag" or page.redirect_to %}
{% unless page.url contains "." or page.url == "/tag" or page.sitemap == false %}
<url>
<loc>{{site.url}}{{site.baseurl}}{{page.url}}</loc>
</url>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment