Adding sitemap for the site


View Source Code

Automatically generates sitemap for all pages of the site where sitemap attribute is not set to false.

This component will automatically add the sitemap.xml file into the root folder of the site.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
        <loc>/</loc>
    </url>
    <url>
        <loc>/page1/</loc>
    </url>
    <url>
        <loc>/page2/</loc>
    </url>
</urlset>

This component is included into the base theme


Powered by Docify