mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 15:36:48 -04:00
Update IsMultihost method
This commit is contained in:
parent
939281f3a1
commit
8049e77019
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user