Home
Returns the home Page object for the given site.
Syntax
SITE.Home
Returns
page.Page
This method is useful for obtaining a link to the home page.
Site configuration:
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/
Last updated:
January 26, 2024
:
Squashed 'docs/' changes from 4dd2d6415..3b1a8579d (7125ad401)
Improve this page