Skip to content

Commit fa441a6

Browse files
committed
fix: Use Hugo's default sitemap instead of custom template
- Removed custom sitemap.xml template causing parsing issues - Simplified Hugo config to use built-in sitemap generator - Removed complex minification and output format settings - Hugo's default sitemap is more reliable for Google Search Console
1 parent 746fac0 commit fa441a6

File tree

2 files changed

+1
-31
lines changed

2 files changed

+1
-31
lines changed

portfolio/config.toml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,19 @@ canonifyURLs = true
2222
[markup.goldmark.renderer]
2323
unsafe = true
2424

25-
# Minification settings - disable for XML
26-
[minify]
27-
disableXML = true
28-
2925
# SEO and Social
3026
[social]
3127
linkedin = "https://linkedin.com/in/debdyuthajra"
3228
github = "https://github.com/Debdyut"
3329

34-
# Sitemap configuration with explicit settings
30+
# Use Hugo's default sitemap - simple and reliable
3531
[sitemap]
3632
changefreq = "weekly"
3733
priority = 0.5
38-
filename = "sitemap.xml"
3934

4035
# Taxonomies
4136
[taxonomies]
4237
category = "categories"
4338
tag = "tags"
4439

45-
# Output formats
46-
[outputs]
47-
home = ["HTML", "RSS", "JSON"]
48-
page = ["HTML"]
49-
section = ["HTML", "RSS"]
50-
5140
ignoreLogs = ['warning-goldmark-raw-html']

portfolio/layouts/sitemap.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)