mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
Some minify configuration adjustments
This commit is contained in:
parent
574c2959b8
commit
7204b354a9
18 changed files with 173 additions and 143 deletions
|
@ -94,11 +94,8 @@ var Default = Config{
|
|||
}
|
||||
|
||||
func init() {
|
||||
docsProvider := func() map[string]interface{} {
|
||||
docs := make(map[string]interface{})
|
||||
docs["markup"] = parser.LowerCaseCamelJSONMarshaller{Value: Default}
|
||||
return docs
|
||||
|
||||
docsProvider := func() docshelper.DocProvider {
|
||||
return docshelper.DocProvider{"config": map[string]interface{}{"markup": parser.LowerCaseCamelJSONMarshaller{Value: Default}}}
|
||||
}
|
||||
docshelper.AddDocProvider("config", docsProvider)
|
||||
docshelper.AddDocProviderFunc(docsProvider)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue