mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
commands, helpers: Fix docs
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
52976da0ec
commit
4352156a27
@@ -147,7 +147,7 @@ func MakePermalink(host, plink string) *url.URL {
|
||||
return base
|
||||
}
|
||||
|
||||
// AbsURL creates a absolute URL from the relative path given and the BaseURL set in config.
|
||||
// AbsURL creates an absolute URL from the relative path given and the BaseURL set in config.
|
||||
func (p *PathSpec) AbsURL(in string, addLanguage bool) string {
|
||||
url, err := url.Parse(in)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user