Add mention of output format configuration to configuration.md

This commit is contained in:
Ryan Watters 2017-04-10 23:01:22 -05:00
parent 0b51849d0c
commit 24ae7df130
2 changed files with 6 additions and 1 deletions

View File

@ -381,6 +381,10 @@ blackfriday:
``` ```
{{% /code %}} {{% /code %}}
## Configuring Additional Output Formats
Hugo v0.20 introduced the ability to render your content to multiple output formats (e.g., to JSON, AMP html, or CSV). See [Output Formats][] for information on how to add these values to your Hugo project's configuration file.
## Configuration Format Specs ## Configuration Format Specs
* [TOML Spec][toml] * [TOML Spec][toml]
@ -391,6 +395,7 @@ blackfriday:
[directory structure]: /getting-started/directory-structure [directory structure]: /getting-started/directory-structure
[json]: /documents/ecma-404-json-spec.pdf [json]: /documents/ecma-404-json-spec.pdf
[lookup order]: /templates/lookup-order/ [lookup order]: /templates/lookup-order/
[Output Formats]: /templates/output-formats/
[templates]: /templates/ [templates]: /templates/
[toml]: https://github.com/toml-lang/toml [toml]: https://github.com/toml-lang/toml
[yaml]: http://yaml.org/spec/ [yaml]: http://yaml.org/spec/

View File

@ -17,7 +17,7 @@ aliases: [/templates/outputs/,/extras/output-formats/,/doc/output-formats/,/doc/
toc: true toc: true
--- ---
Hugo `0.20` introduced the powerful feature **Custom Output Formats**; Hugo isn't just that "static HTML with an added RSS feed" anymore. _Say hello_ to calendars, e-book formats, Google AMP, and JSON search indexes, to name a few. Hugo `0.20` introduced the powerful feature **custom output formats**; Hugo isn't just "static HTML with an added RSS feed" anymore. *Say hello* to calendars, e-book formats, Google AMP, and JSON search indexes, to name a few.
This page describes how to properly configure your site with the media types and output formats, as well as where to create your templates for your custom outputs. This page describes how to properly configure your site with the media types and output formats, as well as where to create your templates for your custom outputs.