| | |
| | | |
| | | ### How do I disable dark mode? |
| | | |
| | | Under `params` add `enableDarkMode = false` to your `config.toml` file. If your site is based on the exampleSite, the value is already included; you only need to uncomment it. |
| | | Under `params` add `enableDarkMode = false` to your `hugo.toml` file. If your site is based on the exampleSite, the value is already included; you only need to uncomment it. |
| | | |
| | | > The user will still have the option to activate dark mode, if they so wish through the UI |
| | | |
| | |
| | | |
| | | ### How can I change the address bar color on mobile devices? |
| | | |
| | | Just put the following line in the `[params]` section in your `config.toml` file (and of course change the color): |
| | | Just put the following line in the `[params]` section in your `hugo.toml` file (and of course change the color): |
| | | |
| | | ```toml |
| | | metaThemeColor = "#123456" |
| | |
| | | |
| | | The contents of the second file will be attached just before the `</body>` tag. |
| | | |
| | | Alternatively, if you want to use the `config.toml` to track your custom styles or scripts, declare them as slices under `[params]` like so: |
| | | Alternatively, if you want to use the `hugo.toml` to track your custom styles or scripts, declare them as slices under `[params]` like so: |
| | | |
| | | ```toml |
| | | ... |