diff --git a/sitemap.xml b/sitemap.xml index 901eada..c3e1845 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,10 +2,14 @@ layout: minify --- - + {% for page in site.pages %} - - {{ site.url }}{{ page.url }} - + {% if page.url == "/" or page.url contains ".html" %} + {% unless page.url == "/404" %} + + {{ site.url }}{{ page.url }} + + {% endunless %} + {% endif %} {% endfor %}