quasibit / eleventy-plugin-sitemap

Eleventy plugin to generate a sitemap.
MIT License
37 stars 7 forks source link

Automatically change page sitemap information according to specific post metadata #53

Open xplosionmind opened 2 years ago

xplosionmind commented 2 years ago

Suppose I have many work in progress pages containing the wip tag. Such pages, as long as they are labelled with this tag, are likely to change more frequently, and, since they are incomplete, they should have a lower priority.

How could I set arbitrary values e.g. for changefreq and priority according to whether a page has the a certain tag or a certain front-matter value?

nunof07 commented 2 years ago

Hi @xplosionmind , you should be able to do this with a data file and computed data.

xplosionmind commented 2 years ago

Thank you very much! As I have written in #52, I am not able to code at this level, I could really use some help. Thanks again!