mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
Add config options: disable footnote anchor prefix and header ID suffix
New config options: * DisableFootnoteAnchorPrefix - bool - default: false * DisableHeaderIDSuffix - bool - default: false
This commit is contained in:
@@ -123,6 +123,8 @@ func InitializeConfig() {
|
||||
viper.SetDefault("BuildDrafts", false)
|
||||
viper.SetDefault("BuildFuture", false)
|
||||
viper.SetDefault("UglyUrls", false)
|
||||
viper.SetDefault("DisableFootnoteAnchorPrefix", false)
|
||||
viper.SetDefault("DisableHeaderIDSuffix", false)
|
||||
viper.SetDefault("Verbose", false)
|
||||
viper.SetDefault("CanonifyUrls", false)
|
||||
viper.SetDefault("Indexes", map[string]string{"tag": "tags", "category": "categories"})
|
||||
|
Reference in New Issue
Block a user