Unverified Commit 4c1b8cb1 authored by Leon Byford's avatar Leon Byford Committed by GitHub

remove redirects from sitemap

parent e31ede29
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% for page in site.pages %} {% for page in site.pages %}
{% unless page.url contains "." or page.url == "/tag" %} {% unless page.url contains "." or page.url == "/tag" or page.redirect_to %}
<url> <url>
<loc>{{site.url}}{{site.baseurl}}{{page.url}}</loc> <loc>{{site.url}}{{site.baseurl}}{{page.url}}</loc>
</url> </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