'new site' generates empty config.toml

Hello,

resuming my work with Hugo to test some new exciting features like multi-lingual support, org-mode posting, emojis…but running:

hugo new site tst

generates empty config.toml

I built Hugo from the master:

Hugo Static Site Generator v0.20-DEV linux/amd64 BuildDate: 2017-03-09T10:30:37+01:00

Has something changes in the working of ‘new site’ command or docs are not up-to-date?

Moreover, attempt to use:

hugo new post/test.org

also does not put anything in posts’ front-matter?

Stable release:

Hugo Static Site Generator v0.19 linux/amd64 BuildDate: 2017-02-27T13:35:55+01:00

does create minimal config file.

If you build your own Hugo, you have to do it with dependency management (govendor); the make file should handle that for you.

Also see

https://github.com/spf13/hugo/issues/3142

Thank you!

It looks I’m a bit behind Hugo development and the docs does not mention it (yet), but attempt with govendor helped. :wink:

https://github.com/spf13/hugo/issues/3153

I’m on Fedora, so it looks that the above is not an issue on Linux…