Clarify where to define the theme in the .toml file (#1390)

It was not clear that the user has to place it in the top level of the
file. I had an issue with that.
This commit is contained in:
Youri Seichter 2021-03-06 12:12:21 -08:00 committed by GitHub
parent d29693066e
commit ba0c384602
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,8 @@ Zola to use it by setting the `theme` variable in the
[configuration file](@/documentation/getting-started/configuration.md). The theme [configuration file](@/documentation/getting-started/configuration.md). The theme
name has to be the name of the directory you cloned the theme in. name has to be the name of the directory you cloned the theme in.
For example, if you cloned a theme in `themes/simple-blog`, the theme name to use For example, if you cloned a theme in `themes/simple-blog`, the theme name to use
in the configuration file is `simple-blog`. in the configuration file is `simple-blog`. Also make sure to place the variable in the top level of the
`.toml` hierarchy and not after a dict like [extra] or [markdown].
## Customizing a theme ## Customizing a theme