From 24ae7df130bb473b3eddcd4e68e897ad58b1627f Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Mon, 10 Apr 2017 23:01:22 -0500 Subject: [PATCH] Add mention of output format configuration to configuration.md --- content/getting-started/configuration.md | 5 +++++ content/templates/output-formats.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/content/getting-started/configuration.md b/content/getting-started/configuration.md index d121bf887..2e4316dec 100644 --- a/content/getting-started/configuration.md +++ b/content/getting-started/configuration.md @@ -381,6 +381,10 @@ blackfriday: ``` {{% /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 * [TOML Spec][toml] @@ -391,6 +395,7 @@ blackfriday: [directory structure]: /getting-started/directory-structure [json]: /documents/ecma-404-json-spec.pdf [lookup order]: /templates/lookup-order/ +[Output Formats]: /templates/output-formats/ [templates]: /templates/ [toml]: https://github.com/toml-lang/toml [yaml]: http://yaml.org/spec/ \ No newline at end of file diff --git a/content/templates/output-formats.md b/content/templates/output-formats.md index 09cf3053b..1925cebf5 100644 --- a/content/templates/output-formats.md +++ b/content/templates/output-formats.md @@ -17,7 +17,7 @@ aliases: [/templates/outputs/,/extras/output-formats/,/doc/output-formats/,/doc/ 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.