Skip to content

Commit 7c1bc77

Browse files
Include all repos in sitemap index, not just supermodel
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c634e89 commit 7c1bc77

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

generate-index.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ func generateSitemap(cfg Config) error {
7979
b.WriteString(`<?xml version="1.0" encoding="UTF-8"?>` + "\n")
8080
b.WriteString(`<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">` + "\n")
8181
for _, cat := range cfg.Categories {
82-
if cat.Slug != "supermodel" {
83-
continue
84-
}
8582
for _, repo := range cat.Repos {
8683
b.WriteString(fmt.Sprintf(" <sitemap>\n <loc>%s/%s/sitemap.xml</loc>\n </sitemap>\n", baseURL, url.PathEscape(repo.Name)))
8784
}

0 commit comments

Comments
 (0)