From 330a055c2276581939e61540ced8d5a0d38d2b57 Mon Sep 17 00:00:00 2001 From: mathias Date: Tue, 30 Jul 2019 23:30:47 +0300 Subject: [PATCH] Modify sitemap --- sitemap.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 %}