blob: 9a84d5c7fc7bc0b7212b6aaf6fe084c9aac70422 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package media
import (
"github.com/spf13/hugo/docshelper"
)
// 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
}
docshelper.AddDocProvider("media", docsProvider)
}
|