docs: Change redirect documentation to aliases
authorAnthony Fok <foka@debian.org>
Thu, 10 Sep 2015 09:08:32 +0000 (03:08 -0600)
committerAnthony Fok <foka@debian.org>
Thu, 10 Sep 2015 09:08:32 +0000 (03:08 -0600)
Fixes #962

docs/content/content/front-matter.md

index 31bf52b5a421a3b485caf1da9eedfe4fed3ac594..2a9d34a8746a1d60b2a24d35983ed9138b904767 100644 (file)
@@ -88,7 +88,10 @@ Field names are always normalized to lowercase (e.g. `camelCase: true` is availa
 
 ### Optional variables
 
-* **redirect** Mark the post as a redirect post
+* **aliases** An array of one or more aliases
+              (e.g. old published path of a renamed content)
+              that would be created to redirect to this content.
+              See [Aliases]({{< relref "extras/aliases.md" >}}) for details.
 * **draft** If true, the content will not be rendered unless `hugo` is called with `--buildDrafts`
 * **publishdate** If in the future, content will not be rendered unless `hugo` is called with `--buildFuture`
 * **type** The type of the content (will be derived from the directory automatically if unset)