Merge pull request #47 from erikyuzwa/add-support-for-changefreq-in-sitemap

feat: add support for changefreq in sitemap
This commit is contained in:
Lene Saile 2024-05-27 09:25:31 +02:00 committed by GitHub
commit 6d7b15d6fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 %}