Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorphilgs <phil.gs@gmail.com>2015-01-05 13:37:47 +0300
committerbep <bjorn.erik.pedersen@gmail.com>2015-01-05 20:51:36 +0300
commit0b7392b3dbfc7a0e7e926fa0b207de0eaee46023 (patch)
treedf3eed149a4d42483701523f17d98846a079caaf /docs
parente6c27f76aa8a3f2b03f082c9c869e7a6269d6249 (diff)
Update configuration.md
Update configuration.md to show setting variables for .Site.Params in TOML config file
Diffstat (limited to 'docs')
-rw-r--r--docs/content/overview/configuration.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/content/overview/configuration.md b/docs/content/overview/configuration.md
index cce376a47..c1b21b862 100644
--- a/docs/content/overview/configuration.md
+++ b/docs/content/overview/configuration.md
@@ -32,7 +32,7 @@ The following is an example of a typical yaml config file:
baseurl: "http://yoursite.example.com/"
...
-The following is an example of a toml config file with some of the default values:
+The following is an example of a toml config file with some of the default values. Values under `[params]` will populate the `.Site.Params` variable for use in templates:
contentdir = "content"
layoutdir = "layouts"
@@ -42,8 +42,12 @@ The following is an example of a toml config file with some of the default value
canonifyurls = true
[indexes]
- category = "categories"
- tag = "tags"
+ category = "categories"
+ tag = "tags"
+
+ [params]
+ description = "Tesla's Awesome Hugo Site"
+ author = "Nikola Tesla"
Here is a yaml configuration file which sets a few more options