Sitemap generator excludes /about/, /authors/, /contact/, /privacy/ #35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Location
scripts/generate-sitemap.tsProblem
Sitemap only includes 6 static pages (home + 5 pillars) plus articles. Missing
/about/,/authors/,/authors/<slug>/,/contact/,/privacy/.Suggested fix
Add these to the
staticPagesarray ingenerate-sitemap.ts.Fixed in
4f866b5— addedabout,contact,privacyto static pages (9 total), plus dynamic/authors/<slug>/entries by readingcontent/authors/directory. Also updated the URL count in the console log to include author pages.