layout: plugins/compress permalink: /sitemap.xml


{%- assign site_pages = site.html_pages | where_exp: “item”, “item.url != '/404.html'” -%}

<?xml version=“1.0” encoding=“UTF-8”?> <urlset xmlns=“www.sitemaps.org/schemas/sitemap/0.9”>

{% for page in site_pages -%}
    <url>
        <loc>{{ page.url | absolute_url | xml_escape }}</loc>
        <priority>{{ page.content | size | divided_by: 2048.0 | times: 10 | ceil | divided_by: 10.0 | at_least: 0.1 | at_most: 1.0 }}</priority>
        <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
    </url>
{%- endfor %}

</urlset>