Fix extension's missing period.

This commit is contained in:
Ricardo N Feliciano 2017-07-28 15:59:23 -04:00 committed by Bjørn Erik Pedersen
parent 7062ae075b
commit f9f87d9d71

View File

@ -26,7 +26,7 @@ Hugo supports loading data from YAML, JSON, and TOML files located in the `data`
The `data` folder is where you can store additional data for Hugo to use when generating your site. Data files aren't used to generate standalone pages; rather, they're meant to be supplemental to content files. This feature can extend the content in case your front matter fields grow out of control. Or perhaps you want to show a larger dataset in a template (see example below). In both cases, it's a good idea to outsource the data in their own files. The `data` folder is where you can store additional data for Hugo to use when generating your site. Data files aren't used to generate standalone pages; rather, they're meant to be supplemental to content files. This feature can extend the content in case your front matter fields grow out of control. Or perhaps you want to show a larger dataset in a template (see example below). In both cases, it's a good idea to outsource the data in their own files.
These files must be YAML, JSON, or TOML files (using the `.yml`, `.yaml`, `.json`, or `toml` extension). The data will be accessible as a `map` in the `.Site.Data` variable. These files must be YAML, JSON, or TOML files (using the `.yml`, `.yaml`, `.json`, or `.toml` extension). The data will be accessible as a `map` in the `.Site.Data` variable.
## Data Files in Themes ## Data Files in Themes
@ -250,4 +250,4 @@ If you change any local file and the LiveReload is triggered, Hugo will read the
[toml]: https://github.com/toml-lang/toml [toml]: https://github.com/toml-lang/toml
[variadic]: http://en.wikipedia.org/wiki/Variadic_function [variadic]: http://en.wikipedia.org/wiki/Variadic_function
[vars]: /variables/ [vars]: /variables/
[yaml]: http://yaml.org/spec/ [yaml]: http://yaml.org/spec/