Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'

This commit is contained in:
Bjørn Erik Pedersen
2025-04-10 13:04:51 +02:00
987 changed files with 12379 additions and 14083 deletions

View File

@@ -3,12 +3,11 @@ title: site
description: Provides global access to the current Site object.
categories: []
keywords: []
action:
aliases: []
related:
- functions/global/page
returnType:
signatures: [site]
params:
functions_and_methods:
aliases: []
returnType:
signatures: [site]
aliases: [/functions/site]
---
@@ -27,6 +26,5 @@ When the `Site` object is in context you can use the `Site` property:
{{ $.Site.Params.foo }}
```
{{% note %}}
To simplify your templates, use the global `site` function regardless of whether the `Site` object is in context.
{{% /note %}}
> [!note]
> To simplify your templates, use the global `site` function regardless of whether the `Site` object is in context.