docs: Change redirect documentation to aliases - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit c7521b3d672b8d857bfe698f021c498dd27226c9
(DIR) parent cf7318a057770387a9869cd16d8b849cb790196d
(HTM) Author: Anthony Fok <foka@debian.org>
Date: Thu, 10 Sep 2015 03:08:32 -0600
docs: Change redirect documentation to aliases
Fixes #962
Diffstat:
M docs/content/content/front-matter.… | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/docs/content/content/front-matter.md b/docs/content/content/front-matter.md
@@ -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)