mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
Update IsMultihost method
This commit is contained in:
1 parent
939281f3a1
commit
8049e77019
1 file changed
+3
-1
@@ -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
|
||||
```
|
||||
Reference in new issue
Block a user