diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 925831fc4d..d30159fa24 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -1,8 +1,3 @@ -# This is the file `config/_default/params.toml`. -# You can also store the below options directly in your `hugo.toml` but then -# need to contain them within the `params` key. See Hugo's documentation how -# to do this. - # If an option value is said to be not set, you can achieve the same behavior # by given it an empty string value. diff --git a/exampleSite/content/basics/configuration/_index.en.md b/exampleSite/content/basics/configuration/_index.en.md index 9a16e5e99c..599a54526e 100644 --- a/exampleSite/content/basics/configuration/_index.en.md +++ b/exampleSite/content/basics/configuration/_index.en.md @@ -10,7 +10,8 @@ On top of [Hugo global configuration](https://gohugo.io/overview/configuration/) Note that some of these parameters are explained in details in other sections of this documentation. -````toml {title="params.toml"} +````toml {title="config.toml"} +[params] {{% include "config/_default/params.toml" %}} ````