Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ValidConfigFileExtensions = []string{"toml", "yaml", "yml", "json"}
)
Functions ¶
func FromConfigString ¶
FromConfigString creates a config from the given YAML, JSON or TOML config. This is useful in tests.
func GetFileExtension ¶
GetFileExtension return the extension of specfied filename
func IsValidConfigFilename ¶
IsValidConfigFilename returns whether filename is one of the supported config formats in Hugo.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.