diff --git a/source/sitemap.xml.twig b/source/sitemap.xml.twig index eb76767a..09c18211 100644 --- a/source/sitemap.xml.twig +++ b/source/sitemap.xml.twig @@ -8,27 +8,27 @@ use: - {{ site.url }} + {{ site.url|trim('/', 'right') }} 0.8 {% for page in data.pages if not page.exclude_from_sitemap %} - {{ site.url }}{{ page.url }} + {{ site.url }}{{ page.url|trim('/', 'right') }} 0.8 {% endfor %} {% for post in data.posts %} - {{ site.url }}{{ post.url }} + {{ site.url }}{{ post.url|trim('/', 'right') }} 1.0 {% endfor %} {% for talk in data.talks if not talk.hide_page %} - {{ site.url }}{{ talk.url }} + {{ site.url }}{{ talk.url|trim('/', 'right') }} 1.0 {% endfor %}