ref: 0b7392b3dbfc7a0e7e926fa0b207de0eaee46023
parent: e6c27f76aa8a3f2b03f082c9c869e7a6269d6249
author: philgs <[email protected]>
date: Mon Jan 5 00:37:47 EST 2015
Update configuration.md Update configuration.md to show setting variables for .Site.Params in TOML config file
--- a/docs/content/overview/configuration.md
+++ b/docs/content/overview/configuration.md
@@ -32,7 +32,7 @@
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 @@
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