When trying to follow the installation instructions from the README the theme won't work unless the parameter brand is set. Not setting it results in an error pointing to the partials/head/meta.html, where $.Site.Params.brand is called without a default value.
Tested with hugo v0.135.0.
Suggested solutions:
Adapt README.md to include hint to set brand parameter. Meanwhile adding a hint, that hugo nowadays calls the config hugo.toml instead of config.toml might also be helpful for some users.
# hugo.toml
[params]
brand = 'MyBrand'
Add default value handling to the given position in the meta.html.
When trying to follow the installation instructions from the README the theme won't work unless the parameter
brand
is set. Not setting it results in an error pointing to thepartials/head/meta.html
, where$.Site.Params.brand
is called without a default value.Tested with hugo v0.135.0.
Suggested solutions:
README.md
to include hint to setbrand
parameter. Meanwhile adding a hint, that hugo nowadays calls the confighugo.toml
instead ofconfig.toml
might also be helpful for some users.meta.html
.Thanks for the theme!