Last active
October 1, 2020 08:02
-
-
Save wout/7f90bf3b5901ab45bf0610970fc9fe64 to your computer and use it in GitHub Desktop.
TiLiShop Bridgetown Sitemap Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: false | |
permalink: "/sitemap.xml" | |
--- | |
<?xml version="1.0" encoding="UTF-8"?> | |
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"> | |
<url> | |
<loc>https://tilishop.com/</loc> | |
</url> | |
<url> | |
<loc>https://tilishop.com/preregister</loc> | |
</url> | |
{%- for link in site.data.menus.main %} | |
<url> | |
<loc>https://tilishop.com{{ link.href }}</loc> | |
</url> | |
{%- endfor %} | |
{%- for post in site.posts %} | |
<url> | |
<loc>https://tilishop.com{{ post.url }}</loc> | |
</url> | |
{%- endfor %} | |
{%- for link in site.data.menus.footer %} | |
{% unless link.href contains 'mailto:' %} | |
<url> | |
<loc>https://tilishop.com{{ link.href }}</loc> | |
</url> | |
{% endunless %} | |
{%- endfor %} | |
{%- for link in site.data.menus.legal %} | |
<url> | |
<loc>https://tilishop.com{{ link.href }}</loc> | |
</url> | |
{%- endfor %} | |
</urlset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment