Skip to content

Commit 6e43c12

Browse files
committed
Move sitemap to /sitemap/sitemap.xml path
1 parent b75c0ed commit 6e43c12

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

portfolio/config.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,22 @@ canonifyURLs = true
2727
linkedin = "https://linkedin.com/in/debdyuthajra"
2828
github = "https://github.com/Debdyut"
2929

30-
# Use Hugo's default sitemap - simple and reliable
30+
# Custom sitemap configuration
3131
[sitemap]
3232
changefreq = "weekly"
3333
priority = 0.5
3434

35+
# Output formats
36+
[outputs]
37+
home = ["HTML", "RSS", "sitemap"]
38+
39+
[outputFormats]
40+
[outputFormats.sitemap]
41+
mediaType = "application/xml"
42+
baseName = "sitemap"
43+
path = "sitemap"
44+
isPlainText = true
45+
3546
# Taxonomies
3647
[taxonomies]
3748
category = "categories"

portfolio/static/_redirects

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)