Skip to content

Commit fab2a09

Browse files
committed
fix: Add explicit sitemap configuration to content files
- Added sitemap priority and changefreq to homepage (priority 1.0) - Added sitemap settings to projects page (priority 0.9) - Enhanced Hugo config with proper taxonomies - Should improve sitemap generation and GSC compatibility
1 parent c1b79a9 commit fab2a09

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

portfolio/config.toml

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

30-
# Sitemap configuration - use Hugo's built-in
30+
# Sitemap configuration with explicit settings
3131
[sitemap]
3232
changefreq = "weekly"
3333
priority = 0.5
3434
filename = "sitemap.xml"
3535

36+
# Taxonomies
37+
[taxonomies]
38+
category = "categories"
39+
tag = "tags"
40+
3641
# Output formats
3742
[outputs]
3843
home = ["HTML", "RSS", "JSON"]

portfolio/content/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: "Portfolio"
33
date: 2024-10-31T16:47:00+05:30
44
draft: false
5+
[sitemap]
6+
changefreq = 'weekly'
7+
priority = 1.0
58
---
69

710
# Debdyut Hajra

portfolio/content/projects/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: "Projects"
33
draft: false
44
description: Technical projects spanning payments, cloud infrastructure, and embedded systems
5+
[sitemap]
6+
changefreq = 'weekly'
7+
priority = 0.9
58
outputs:
69
- HTML
710
- JSON

0 commit comments

Comments
 (0)