{{/* absURL */}}
{{"https://gohugo.io/functions/absurl" | markdownify }}
{{"https://gohugo.io/functions/relurl" | markdownify }}
{{"[relURL](../relURL)" | markdownify }}
{{ $.Site.BaseURL }}
{{ "mystyle.css" | absURL }}
{{ "mystyle.css" | relURL }}
{{ "./mystyle.css" | absURL }}
{{ "./mystyle.css" | relURL }}
{{ "../mystyle.css" | absURL }}
{{ "../mystyle.css" | relURL }}
{{ "/foo/mystyle.css" | absURL }}
{{ "/foo/mystyle.css" | relURL }}
{{`it's safe to apply on URI with http or https`}}
{{ "http://gohugo.io/" | absURL }}
{{ "http://gohugo.io/" | relURL }}
{{ "https://gohugo.io/" | absURL }}
{{ "https://gohugo.io/" | relURL }}
{{`but not other schemas:`}}
{{ "ftp://gohugo.io/" | absURL }}
{{ "ftp://gohugo.io/" | relURL }}
{{"https://en.wikipedia.org/wiki/URL" | markdownify }}
{{`scheme:[//[user[:password]@]host[:port]][/path][?query][#fragment]`}}
{{ "abc://username:password@example.com:123/path/data?key=value#fragid1" | absURL }}
{{ "abc://username:password@example.com:123/path/data?key=value#fragid1" | relURL }}