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

Rename instances of config.toml with hugo.toml. #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

utkarshsethi
Copy link
Contributor

as of gohugoio/hugo#8979 hugo.toml is used instead of config.toml.

…go#8979 `hugo.toml` is used instead of `config.toml`.
@utkarshsethi utkarshsethi deleted the config.toml>hugo.toml branch August 16, 2024 05:08
@utkarshsethi utkarshsethi restored the config.toml>hugo.toml branch August 16, 2024 05:37
@utkarshsethi utkarshsethi reopened this Aug 16, 2024
@lordmathis
Copy link
Owner

Hi @utkarshsethi thanks for the update. Does this have impact on the minimum hugo version? If yes, please also update the min_version number in theme.toml

@utkarshsethi
Copy link
Contributor Author

https://gohugo.io/getting-started/configuration/#configuration-file reads:

With v0.109.0 and earlier the basename of the site configuration file was config instead of hugo. You can use either, but should transition to the new naming convention when practical.

So it is a recommended change but it falls back to config.toml when hugo.toml is not available.

Maybe we should just leave a note in the readme?

@lordmathis
Copy link
Owner

Yes, but what if someone tries to run this with hugo v0.90.0? Then the hugo.toml would not get recognized right?

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

Successfully merging this pull request may close these issues.

2 participants