Skip to content

fix(web): sitemap missing from dist + only 7 of 156 URLs listed#47

Merged
MelbourneDeveloper merged 3 commits into
mainfrom
fixes
Jun 11, 2026
Merged

fix(web): sitemap missing from dist + only 7 of 156 URLs listed#47
MelbourneDeveloper merged 3 commits into
mainfrom
fixes

Conversation

@MelbourneDeveloper

Copy link
Copy Markdown
Collaborator

Found by the website audit:

  1. dist/sitemap.xml didn't existrobots.txt advertises it, but the Vite copy plugin only emitted .html files, so crawlers got a 404. Now .xml Eleventy outputs are copied through.
  2. Sitemap listed 7 URLs instead of 156 — Eleventy pagination only adds the first page to collections.all by default, so every docs page except introduction was missing. Fixed with addAllPagesToCollections: true (blog index is unaffected — verified it still lists only posts).
  3. Blog post title contained & which double-escaped in <title>.

Website-only change — this PR also exercises the new [CI-SCOPE-FILTER] lightweight path.

- 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>).
@MelbourneDeveloper MelbourneDeveloper merged commit 15fdb61 into main Jun 11, 2026
1 check passed
@MelbourneDeveloper MelbourneDeveloper deleted the fixes branch June 11, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant