mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 18:14:55 -04:00
Indicate that .Site.Sites.First returns the site corresponding to the default content language
Co-authored-by: Joe Mooring <joe@mooring.com>
This commit is contained in:
parent
0a115cfdab
commit
60071d9238
@ -49,7 +49,7 @@ Produces a list of links to each home page:
|
|||||||
</ul>
|
</ul>
|
||||||
```
|
```
|
||||||
|
|
||||||
To render a link to home page of the primary (first) language:
|
To render a link to the home page of the site corresponding to the default content language:
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{ with .Site.Sites.First }}
|
{{ with .Site.Sites.First }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user