BaseURL
Syntax
SITE.BaseURL
Returns
string
Site configuration:
hugo.
baseURL: https://example.org/docs/
baseURL = 'https://example.org/docs/'
{
"baseURL": "https://example.org/docs/"
}
Template:
{{ .Site.BaseURL }} → https://example.org/docs/