Setting the themeVariant in config.toml does not have any effect
See original GitHub issueHi,
for me setting the themeVariant in the config.toml does not have any effect. Im always seeing the blue default theme.
My config.toml:
DefaultContentLanguage = "en"
theme = "docdock"
themeVariant = "gray"
im running hugo 0.24.1
Hugo Static Site Generator v0.24.1 darwin/amd64 BuildDate: 2017-06-26T09:33:45+02:00
Any suggestions on what I’m doing wrong are highly appreciated.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Advanced configuration - GitLab Documentation
To do this, you modify a file called config.toml , which uses the TOML format. GitLab Runner does not require a restart when...
Read more >Theme color configuration not working - support - HUGO
My problem is that changing primaryColor in config.toml has no effect on the generated CSS file public/assets/css/devresume.min.[.
Read more >Configuration :: Documentation for Hugo Learn Theme
On top of Hugo global configuration, Hugo-theme-learn lets you define the following parameters in your config.toml (here, values are default).
Read more >Appendix A. Configuration Options - GitLab
This option has no effect if the source is a file. If false (the default) then the target will be a symbolic link...
Read more >Using the config.toml File - H2O.ai Documentation
If an environment variable is set, the value in the config.toml for ... this option has no effect, unless worker_remote_processors=1 when it ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

can you try to insert
[params]before your themeVariantAdding [params] before themeVariant fixed it for me. Wow, wasted 2 hours on this. For clarification for others, the file to change this in is the config.toml that is in the root of your site, not one in any of the themes subfolders.