Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced Sitemap with the right lastmod values #256

Open
2 tasks done
julien-deramond opened this issue Oct 7, 2023 · 0 comments
Open
2 tasks done

Advanced Sitemap with the right lastmod values #256

julien-deramond opened this issue Oct 7, 2023 · 0 comments
Labels
feature Something can be improved

Comments

@julien-deramond
Copy link
Member

Prerequisites

Proposal

97b27ba removed the Sitemap semi-advanced generation because the content was not correct since the modification date was global to the website.

It doesn't seem possible right now but the idea of this feature request would be to use the data stored in the frontmatter for articles, chapters, modules, etc. to have the right lastmod value in the sitemap.

serialize function in @astrojs/sitemap seems to be the best shot right now but doesn't seem to allow to get info from the frontmatter.

Motivation and context

changefreq and priority are ignored by Google but it is probably not the case for lastmod even if I'm not certain about it. Hopefully it would help with the SEO of the website.

@julien-deramond julien-deramond added feature Something can be improved on hold and removed on hold labels Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something can be improved
Projects
None yet
Development

No branches or pull requests

1 participant