aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/commonConfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/commonConfig.go')
-rw-r--r--config/commonConfig.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/commonConfig.go b/config/commonConfig.go
index 6ca061093..6ae97c2a1 100644
--- a/config/commonConfig.go
+++ b/config/commonConfig.go
@@ -215,6 +215,8 @@ type SitemapConfig struct {
Priority float64
// The sitemap filename.
Filename string
+ // Whether to disable page inclusion.
+ Disable bool
}
func DecodeSitemap(prototype SitemapConfig, input map[string]any) (SitemapConfig, error) {