urls.AbsLangURL
urls.AbsLangURL INPUT
Returns an absolute URL with a language prefix, if any.
urls.AbsURL
urls.AbsURL INPUT
Returns an absolute URL.
urls.Anchorize
urls.Anchorize INPUT
Returns the given string, sanitized for usage in an HTML id attribute.
urls.JoinPath
urls.JoinPath ELEMENT...
Joins the provided elements into a URL string and cleans the result of any ./ or ../ elements. If the argument list is empty, JoinPath returns an empty string.
urls.Parse
urls.Parse URL
Parses a URL into a URL structure.
urls.Ref
urls.Ref PAGE PATH
Returns the absolute permalink to a page at the given path.
urls.RelLangURL
urls.RelLangURL INPUT
Returns a relative URL with a language prefix, if any.
urls.RelRef
urls.RelRef PAGE PATH
Returns the relative permalink to a page at the given path.
urls.RelURL
urls.RelURL INPUT
Returns a relative URL.
urls.URLize
urls.URLize INPUT
Returns the given string, sanitized for usage in a URL.