Merge pull request #47 from erikyuzwa/add-support-for-changefreq-in-sitemap
feat: add support for changefreq in sitemap
This commit is contained in:
commit
6d7b15d6fc
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ excludeFromSitemap: true
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ meta.url }}{{ page.url }}</loc>
|
<loc>{{ meta.url }}{{ page.url }}</loc>
|
||||||
<lastmod>{{ lastmod | toIsoString }}</lastmod>
|
<lastmod>{{ lastmod | toIsoString }}</lastmod>
|
||||||
|
<changefreq>{{ page.data.changeFreq if page.data.changeFreq else "monthly" }}</changefreq>
|
||||||
</url>
|
</url>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue