fix(web): sitemap missing from dist + only 7 of 156 URLs listed#47
Merged
Conversation
- vite-plugin-copy-eleventy: copy Eleventy's .xml outputs (sitemap.xml) into dist — robots.txt advertised /sitemap.xml but the build dropped it (404). - docs.njk: addAllPagesToCollections so all docs pages join collections.all; the sitemap previously listed only the first paginated page (7 URLs -> 156). - blog: avoid '&' in the 0.11 post title (double-escaped in <title>).
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.
Found by the website audit:
dist/sitemap.xmldidn't exist —robots.txtadvertises it, but the Vite copy plugin only emitted.htmlfiles, so crawlers got a 404. Now.xmlEleventy outputs are copied through.collections.allby default, so every docs page exceptintroductionwas missing. Fixed withaddAllPagesToCollections: true(blog index is unaffected — verified it still lists only posts).&which double-escaped in<title>.Website-only change — this PR also exercises the new
[CI-SCOPE-FILTER]lightweight path.