mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Merge commit '8b9803425e63e1b1801f8d5d676e96368d706722'
This commit is contained in:
@@ -52,10 +52,10 @@ Produces a list of links to each home page:
|
||||
</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
|
||||
{{ with .Sites.First }}
|
||||
{{ with .Sites.Default }}
|
||||
<a href="{{ .Home.Permalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
```
|
||||
|
Reference in New Issue
Block a user