Home
Syntax
SITE.Home
Returns
page.Page
This method is useful for obtaining a link to the home page.
Site configuration:
hugo.
 
 
 
baseURL: https://example.org/docs/
baseURL = 'https://example.org/docs/'
{
   "baseURL": "https://example.org/docs/"
}
Template:
{{ .Site.Home.Permalink }} → https://example.org/docs/ 
{{ .Site.Home.RelPermalink }} → /docs/