Update IsMultihost method

This commit is contained in:
Joe Mooring 2024-03-16 10:06:40 -07:00 committed by GitHub
parent 939281f3a1
commit 8049e77019
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ action:
{{< new-in v0.124.0 >}}
The `hugo.IsMultihost` function reports whether each configured language has a unique `baseURL`.
Site configuration:
{{< code-toggle file=hugo >}}
[languages]
@ -29,6 +29,8 @@ The `hugo.IsMultihost` function reports whether each configured language has a u
weight = 1
{{< /code-toggle >}}
Template:
```go-html-template
{{ hugo.IsMultihost }} → true
```