File tree Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ package config
1515
1616import (
1717 "fmt"
18- "sort"
1918 "strings"
2019 "sync"
2120
@@ -26,42 +25,6 @@ import (
2625 "github.com/gohugoio/hugo/common/maps"
2726)
2827
29- var (
30-
31- // ConfigRootKeysSet contains all of the config map root keys.
32- ConfigRootKeysSet = map [string ]bool {
33- "build" : true ,
34- "caches" : true ,
35- "cascade" : true ,
36- "frontmatter" : true ,
37- "languages" : true ,
38- "imaging" : true ,
39- "markup" : true ,
40- "mediatypes" : true ,
41- "menus" : true ,
42- "minify" : true ,
43- "module" : true ,
44- "outputformats" : true ,
45- "params" : true ,
46- "permalinks" : true ,
47- "related" : true ,
48- "sitemap" : true ,
49- "privacy" : true ,
50- "security" : true ,
51- "taxonomies" : true ,
52- }
53-
54- // ConfigRootKeys is a sorted version of ConfigRootKeysSet.
55- ConfigRootKeys []string
56- )
57-
58- func init () {
59- for k := range ConfigRootKeysSet {
60- ConfigRootKeys = append (ConfigRootKeys , k )
61- }
62- sort .Strings (ConfigRootKeys )
63- }
64-
6528// New creates a Provider backed by an empty maps.Params.
6629func New () Provider {
6730 return & defaultConfigProvider {
You can’t perform that action at this time.
0 commit comments