From c3ec0b956eab1ae14783ef05a5722b7877b4d085 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 28 Dec 2018 15:11:54 +0100 Subject: [PATCH] Adjusted documentation for redirects --- docs/extensions/metadata.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/extensions/metadata.md b/docs/extensions/metadata.md index 096240457..5a5403ce8 100644 --- a/docs/extensions/metadata.md +++ b/docs/extensions/metadata.md @@ -48,21 +48,6 @@ see on the current page when you scroll to the top. It's as simple as: ``` markdown hero: Metadata enables hero teaser texts ``` -### Redirects - -It's sometimes necessary to move documents around in the navigation tree and -redirect user from the old URL to the new one. The `redirect:` meta-tag allows -to create a redirection from the current document to the address specified in -the tag. - -For instance, if your document contains: - -``` markdown -redirect: /new/url - -``` -accessing that document's URL will automatically redirect to `/new/url`. - ### Linking sources @@ -90,6 +75,21 @@ See the [source][2] section for the resulting output. [2]: #__source +### Redirecting to another page + +It's sometimes necessary to move documents around in the navigation tree and +redirect user from the old URL to the new one. The `redirect` meta-tag allows +to create a redirection from the current document to the address specified in +the tag. + +For instance, if your document contains: + +``` markdown +redirect: /new/url +``` + +accessing that document's URL will automatically redirect to `/new/url`. + ### Overrides #### Page title