If lastUpdated
enabled - date should also be exposed in sitemap and microdata (schema.org)
#1848
stereobooster
started this conversation in
Feature Requests
Replies: 2 comments 5 replies
-
Thanks for the suggestion @stereobooster! I think we could consider microformat markup for the date modified metadata on each page already? Would be happy to receive a PR for that. Sitemap might be a bit trickier because of how Astro’s sitemap integration works, but I haven’t really explored the idea, so could also be something to think about. I’d definitely recommend tackling the in-page metadata first though! |
Beta Was this translation helpful? Give feedback.
5 replies
-
+1 this would be really nice to have |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of
starlight
are you using?0.22.2
What is your idea?
If
lastUpdated
enabled - it means that we have modification date for each (content) page. We can make use of it and expose it in:lastmod
. This should improve indexing of new content (theoretically - didn't test)dateModified
. This would be shown in search results for Google (probably other search engines too?)Why is this feature necessary?
see above
Do you have examples of this feature in other projects?
n/a
Participation
Beta Was this translation helpful? Give feedback.
All reactions