Commit 34dcac5 1 parent ee43860 commit 34dcac5 Copy full SHA for 34dcac5
File tree 1 file changed +0
-37
lines changed
1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ package config
15
15
16
16
import (
17
17
"fmt"
18
- "sort"
19
18
"strings"
20
19
"sync"
21
20
@@ -26,42 +25,6 @@ import (
26
25
"github.com/gohugoio/hugo/common/maps"
27
26
)
28
27
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
-
65
28
// New creates a Provider backed by an empty maps.Params.
66
29
func New () Provider {
67
30
return & defaultConfigProvider {
You can’t perform that action at this time.
0 commit comments