mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Some minify configuration adjustments
This commit is contained in:
@@ -6,12 +6,8 @@ import (
|
||||
|
||||
// This is is just some helpers used to create some JSON used in the Hugo docs.
|
||||
func init() {
|
||||
docsProvider := func() map[string]interface{} {
|
||||
docs := make(map[string]interface{})
|
||||
|
||||
docs["types"] = DefaultTypes
|
||||
return docs
|
||||
docsProvider := func() docshelper.DocProvider {
|
||||
return docshelper.DocProvider{"media": map[string]interface{}{"types": DefaultTypes}}
|
||||
}
|
||||
|
||||
docshelper.AddDocProvider("media", docsProvider)
|
||||
docshelper.AddDocProviderFunc(docsProvider)
|
||||
}
|
||||
|
Reference in New Issue
Block a user