feat: add support for changefreq in sitemap

This commit is contained in:
erikyuzwa 2024-05-24 10:49:56 -06:00
parent 1569d291b9
commit a4a5b18800

View file

@ -15,6 +15,7 @@ excludeFromSitemap: true
<url>
<loc>{{ meta.url }}{{ page.url }}</loc>
<lastmod>{{ lastmod | toIsoString }}</lastmod>
<changefreq>{{ page.data.changeFreq if page.data.changeFreq else "monthly" }}</changefreq>
</url>
{% endif %}
{% endfor %}