Sitemap generator excludes /about/, /authors/, /contact/, /privacy/ #35

Closed
opened 2026-06-09 20:37:42 +00:00 by glow · 1 comment
Owner

Location

scripts/generate-sitemap.ts

Problem

Sitemap only includes 6 static pages (home + 5 pillars) plus articles. Missing /about/, /authors/, /authors/<slug>/, /contact/, /privacy/.

Suggested fix

Add these to the staticPages array in generate-sitemap.ts.

## Location `scripts/generate-sitemap.ts` ## Problem Sitemap only includes 6 static pages (home + 5 pillars) plus articles. Missing `/about/`, `/authors/`, `/authors/<slug>/`, `/contact/`, `/privacy/`. ## Suggested fix Add these to the `staticPages` array in `generate-sitemap.ts`.
glow self-assigned this 2026-06-09 20:37:42 +00:00
glow closed this issue 2026-06-09 21:30:05 +00:00
Author
Owner

Fixed in 4f866b5 — added about, contact, privacy to static pages (9 total), plus dynamic /authors/<slug>/ entries by reading content/authors/ directory. Also updated the URL count in the console log to include author pages.

Fixed in 4f866b5 — added `about`, `contact`, `privacy` to static pages (9 total), plus dynamic `/authors/<slug>/` entries by reading `content/authors/` directory. Also updated the URL count in the console log to include author pages.
Sign in to join this conversation.
No labels
bug
feature
improvement
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
glow/first-home-diy#35
No description provided.