Home
Returns the home Page object for the given site.
- Syntax
- SITE.Home
- Returns
- page.Page
The Home method on a Site object is a convenient way to access the home page, and is functionally equivalent to:
{{ site.GetPage "/" }}Because it returns a Page object, you can use any of the available page methods by chaining them. For example:
{{ site.Home.Store.Set "greeting" "Hello" }}This method is commonly used to generate a link to the home page. For example:
Project 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:
November 8, 2026
:
content: Remove categories from front matter (1cc1dd83a)
Improve this page