Skip to content

config.toml: change order of language settings and theme/module declaration#162

Merged
chalin merged 1 commit intogoogle:masterfrom
deining:load-order
Feb 14, 2022
Merged

config.toml: change order of language settings and theme/module declaration#162
chalin merged 1 commit intogoogle:masterfrom
deining:load-order

Conversation

@deining
Copy link
Contributor

@deining deining commented Feb 2, 2022

When using docsy as hugo module, inside config.toml, the language settings must declared prior to the [module] section. If you do not obey this load order, you are running in trouble.
This PR moves the language settings inside config.toml up to the top of the file. By doing so, we are ensuring a smooth transition for users that want to pull the docsy theme into the example site as a hugo module.

…ration

(important when using docsy as hugo module)
@netlify
Copy link

netlify bot commented Feb 2, 2022

✔️ Deploy Preview for docsy-example ready!

🔨 Explore the source changes: f3cfd79

🔍 Inspect the deploy log: https://app.netlify.com/sites/docsy-example/deploys/61faf42a4df1130008981304

😎 Browse the preview: https://deploy-preview-162--docsy-example.netlify.app

@chalin
Copy link
Collaborator

chalin commented Feb 14, 2022

When using docsy as hugo module, inside config.toml, the language settings must declared prior to the [module] section. If you do not obey this load order, you are running in trouble.

Just curious if this is documented or discussed anywhere?

Copy link
Collaborator

@chalin chalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@chalin chalin merged commit 6224cd2 into google:master Feb 14, 2022
@deining deining deleted the load-order branch February 22, 2023 08:35
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