Merge commit 'de0df119b504a91c9e1f442b07954f366ffb2932'

This commit is contained in:
Bjørn Erik Pedersen
2024-11-13 11:07:57 +01:00
89 changed files with 745 additions and 856 deletions

View File

@@ -82,7 +82,7 @@ Provide your tracking ID in your configuration file:
{{< code-toggle file=hugo >}}
[services.googleAnalytics]
ID = "G-MEASUREMENT_ID"
id = "G-MEASUREMENT_ID"
{{</ code-toggle >}}
To use this value in your own template, access the configured ID with `{{ site.Config.Services.GoogleAnalytics.ID }}`.

View File

@@ -199,11 +199,11 @@ Remember that the piped value becomes the final argument to the function or meth
You can split a template action over two or more lines. For example, these are equivalent:
```go-html-template
{{ $v := or .Site.Language.LanguageName .Site.Language.Lang }}
{{ $v := or $arg1 $arg2 }}
{{ $v := or
.Site.Language.LanguageName
.Site.Language.Lang
$arg1
$arg2
}}
```