--- permalink: none use: - sitemap sitemap: _exclude: yes --- <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> {% for url in data.sitemap %} <url> {# Last slash for pretty url #} <loc>{{ site.url }}{{ url.loc != '/.' ? (url.loc|trim('/', side='right') ~ '/') : '' }}</loc> <lastmod>{{ url.lastmod }}</lastmod> {% if url.changefreq %} <changefreq>{{ url.changefreq }}</changefreq> {% endif %} {% if url.priority %} <priority>{{ url.priority }}</priority> {% endif %} </url> {% endfor %} </urlset>