Repository navigation
SEO cleanup: drop template blog, noindex tag pages, sitemap lastmod - #24
Merged
Merged
Conversation
- Disable the blog and remove the Docusaurus template blog posts and markdown-page, which were live and linked RSS/Atom feeds from every page. - Mark doc tag pages noindex and leave them out of the sitemap. - Add lastmod to the sitemap and show last update times; check out full git history in CI so the dates are correct. - Demote the extra h1s on the maps and navigation install pages. - Navigation pages use the "| @rnmapbox/navigation" title suffix and the navigation social card.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #19, #20 and #21 from the 2026-10-27 SEO audit.
blog: false,blog/deleted) andsrc/pages/markdown-page.md. Both were live, and every page linked/blog/rss.xmland/blog/atom.xmlin<head>./docs/tags,/docs/tags/*) get<meta name="robots" content="noindex, follow">via wrapper swizzles ofDocTagDocListPage/DocTagsListPage, and are left out of the sitemap.lastmod: 'date'plusshowLastUpdateTime: true. Both workflows now check out withfetch-depth: 0so the git dates are real. Synced example/component pages get the date of the bot sync commit that last touched them./docs/installand/docs/navigation/installhad three h1s each; the sections are now##./docs/navigation/*pages use the| @rnmapbox/navigationtitle suffix (left off when the title already names the package) and the navigation social card, via aDocItem/Metadatawrapper.Before/after, from the local build:
<lastmod>entries: 0 → 165/blog*,/markdown-page: built → not built (404 ondocusaurus serve)<head>: all → 0I checked titles, og tags and robots on a local
docusaurus serve, both on full page loads and after client-side navigation.