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`: