tdemin/gmnhg

Allow for sites with YAML/JSON configuration

Closed this issue · 0 comments

gmnhg will as of now disregard Hugo sites configured with either YAML (config.yaml) or JSON (config.json), despite upstream Hugo allowing for this.

if fileInfo, err := os.Stat("config.toml"); os.IsNotExist(err) || fileInfo.IsDir() {