Skip to content

Running Hugo in directory without config creates empty public dir #11031

@jmooring

Description

@jmooring

hugo v0.113.0-DEV-ffdbce57

$ mkdir foo
$ cd foo
$ hugo

Total in 2 ms
Error: Unable to locate config file or config directory. Perhaps you need to create a new site.
Run `hugo help new` for details.

$ tree .

```text
./
└── public/

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions