Update configuration.md
authorphilgs <phil.gs@gmail.com>
Mon, 5 Jan 2015 10:37:47 +0000 (05:37 -0500)
committerbep <bjorn.erik.pedersen@gmail.com>
Mon, 5 Jan 2015 17:51:36 +0000 (18:51 +0100)
Update configuration.md to show setting variables for .Site.Params in TOML config file

docs/content/overview/configuration.md

index cce376a47ebc5f184cb4b4b49c775b6c4b926302..c1b21b86273b5a8ec4fc885f20f073ada4730bdd 100644 (file)
@@ -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