# 'new site' generates empty config.toml

**URL:** <https://discourse.gohugo.io/t/new-site-generates-empty-config-toml/5747>\
**Category:** support\
**Created:** [March 9, 2017, 10:32am UTC](https://discourse.gohugo.io/t/new-site-generates-empty-config-toml/5747 "2017-03-09T10:32:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gour](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/gour/32/197_2.png) [@gour](https://discourse.gohugo.io/u/gour)\
**Post date:** [March 9, 2017, 10:32am UTC](https://discourse.gohugo.io/t/new-site-generates-empty-config-toml/5747/1 "2017-03-09T10:32:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![gour](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/gour/32/197_2.png) [@gour](https://discourse.gohugo.io/u/gour)\
**Post date:** [March 9, 2017, 10:46am UTC](https://discourse.gohugo.io/t/new-site-generates-empty-config-toml/5747/2 "2017-03-09T10:46:24Z")

</div>

Stable release:

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

does create minimal config file.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [March 9, 2017, 12:06pm UTC](https://discourse.gohugo.io/t/new-site-generates-empty-config-toml/5747/3 "2017-03-09T12:06:40Z")

</div>

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](https://github.com/spf13/hugo/issues/3142)

---

<div class="post-metadata">

**Author:** ![gour](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/gour/32/197_2.png) [@gour](https://discourse.gohugo.io/u/gour)\
**Post date:** [March 9, 2017, 1:19pm UTC](https://discourse.gohugo.io/t/new-site-generates-empty-config-toml/5747/4 "2017-03-09T13:19:00Z")

</div>

> [@bep](#):
>
> If you build your own Hugo, you have to do it with dependency management (govendor); the make file should handle that for you.

Thank you!

It looks I’m a bit behind Hugo development and the [docs](https://www.gohugo.io/overview/installing/) does not mention it (yet), but attempt with `govendor` helped. 😉

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [March 9, 2017, 1:21pm UTC](https://discourse.gohugo.io/t/new-site-generates-empty-config-toml/5747/5 "2017-03-09T13:21:24Z")

</div>

[https://github.com/spf13/hugo/issues/3153](https://github.com/spf13/hugo/issues/3153)

---

<div class="post-metadata">

**Author:** ![gour](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/gour/32/197_2.png) [@gour](https://discourse.gohugo.io/u/gour)\
**Post date:** [March 9, 2017, 1:22pm UTC](https://discourse.gohugo.io/t/new-site-generates-empty-config-toml/5747/6 "2017-03-09T13:22:14Z")

</div>

> [@bep](#):
>
> Also see
> 
> [Latest go-toml doesn't work · Issue #3142 · gohugoio/hugo · GitHub](https://github.com/spf13/hugo/issues/3142)

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