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

config location #3

Open
paulhayes opened this issue Jun 17, 2024 · 0 comments
Open

config location #3

paulhayes opened this issue Jun 17, 2024 · 0 comments

Comments

@paulhayes
Copy link

paulhayes commented Jun 17, 2024

Hi there, there seems to be some discrepancy with the location and name of the hugo config file in this project.

According to the Hugo documentation ( https://gohugo.io/getting-started/directory-structure/ ), the config file can be in one of two places.
site-dir/hugo.toml or site-dir/config/_default/hugo.toml. However in this project it's in site-dir/config/config.toml

Because of this when I call hugo server from the site-dir directory hugo throws a config not found error. I'm running the following version of hugo on raspberry pi OS:
hugo v0.111.3+extended linux/arm64 BuildDate=2023-03-16T08:41:31Z VendorInfo=debian:0.111.3-1

Should the config file not be renamed appropriately?

Alternatively if the idea is to copy the config.toml to one of these paths, should the README not have that as part of the Usage instructions?

HereComesTheMoon added a commit to HereComesTheMoon/solar_blog that referenced this issue Nov 1, 2024
This resolves issue lowtechmag#3, and followes the best practices explained here: https://gohugo.io/getting-started/directory-structure/

The cleanup standardizes whitespaces and quotes in the config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant