Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for sites with YAML/JSON configuration #7

Closed
tdemin opened this issue Aug 12, 2021 · 0 comments
Closed

Allow for sites with YAML/JSON configuration #7

tdemin opened this issue Aug 12, 2021 · 0 comments
Assignees
Labels
bug Something isn't working gmnhg Issue related to cmd/gmnhg
Milestone

Comments

@tdemin
Copy link
Owner

tdemin commented Aug 12, 2021

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() {

@tdemin tdemin added bug Something isn't working gmnhg Issue related to cmd/gmnhg labels Aug 12, 2021
@tdemin tdemin added this to the 0.2.0 milestone Aug 12, 2021
@tdemin tdemin self-assigned this Aug 12, 2021
@tdemin tdemin closed this as completed in af021e9 Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gmnhg Issue related to cmd/gmnhg
Projects
None yet
Development

No branches or pull requests

1 participant