mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-28 17:22:38 +00:00
Remove old aliases afor abs and rel langurl functions
This commit is contained in:
@@ -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`:
|
||||
|
||||
|
||||
@@ -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`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user