mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Update configuration.md
Update configuration.md to show setting variables for .Site.Params in TOML config file
This commit is contained in:
parent
e6c27f76aa
commit
0b7392b3db
1 changed files with 7 additions and 3 deletions
|
@ -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"
|
||||
|
@ -45,6 +45,10 @@ The following is an example of a toml config file with some of the default value
|
|||
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
|
||||
|
||||
---
|
||||
|
|
Loading…
Reference in a new issue