From 63b78b3831e386933b1f3e48698f72a738eb3858 Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Mon, 27 Feb 2017 21:44:03 -0600 Subject: [PATCH] Remove old aliases afor abs and rel langurl functions --- content/functions/abslangurl.md | 4 ++-- content/functions/relLangURL.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/functions/abslangurl.md b/content/functions/abslangurl.md index 3258c2126..1e1a1a9df 100644 --- a/content/functions/abslangurl.md +++ b/content/functions/abslangurl.md @@ -13,11 +13,11 @@ workson: [] hugoversion: relatedfuncs: [relLangURL] deprecated: false -aliases: [/functions/absurl/,/functions/rellangurl/] +aliases: [] needsexamples: true --- -These functions are similar to their [`absURL` and `relURL`](/functions/absurl-and-relurl) relatives but will add the correct language prefix when the site is configured with more than one language. +Both `absLangURL` and [`relLangURL`](/functions/rellangurl/) are similar to their [`absURL`](/functions/absurl/) and [`relURL`](/functions/absurl-and-relurl) relatives but will add the correct language prefix when the site is configured with more than one language. So for a site `baseURL` set to `http://yoursite.com/hugo/` and the current language is `en`: diff --git a/content/functions/relLangURL.md b/content/functions/relLangURL.md index 96753fc0b..8c78aff62 100644 --- a/content/functions/relLangURL.md +++ b/content/functions/relLangURL.md @@ -13,11 +13,11 @@ workson: [] hugoversion: relatedfuncs: [] deprecated: false -aliases: [/functions/absurl/,/functions/rellangurl/] +aliases: [] needsexamples: true --- -`absLangURL` and `relLangURL` functions are similar to their `absURL` and `relURL` relatives but will add the correct language prefix when the site is configured with more than one language. (See [Configuring Multilingual][multiliconfig]) +`absLangURL` and `relLangURL` functions are similar to their [`absURL`](/functions/absurl/) and [`relURL`](/functions/relurl/) relatives but will add the correct language prefix when the site is configured with more than one language. (See [Configuring Multilingual][multiliconfig]) So for a site `baseURL` set to `http://yoursite.com/hugo/` and the current language is `en`: