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

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

Closed
jmooring opened this issue May 27, 2023 · 1 comment · Fixed by #11034
Closed

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

jmooring opened this issue May 27, 2023 · 1 comment · Fixed by #11034
Assignees
Milestone

Comments

@jmooring
Copy link
Member

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/
@bep bep removed the NeedsTriage label May 28, 2023
@bep bep self-assigned this May 28, 2023
@bep bep added this to the v0.113.0 milestone May 28, 2023
bep added a commit that referenced this issue May 28, 2023
bep added a commit that referenced this issue May 28, 2023
bep added a commit that referenced this issue May 28, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants