mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
Merge commit '8b9803425e63e1b1801f8d5d676e96368d706722'
This commit is contained in:
@@ -12,10 +12,10 @@ action:
|
||||
|
||||
The `Languages` method on a `Site` object returns a collection of language objects for all sites, ordered by language weight. Each language object points to its language definition in the site configuration.
|
||||
|
||||
To view the data structure:
|
||||
To inspect the data structure:
|
||||
|
||||
```go-html-template
|
||||
<pre>{{ jsonify (dict "indent" " ") .Site.Languages }}</pre>
|
||||
<pre>{{ debug.Dump .Site.Languages }}</pre>
|
||||
```
|
||||
|
||||
With this site configuration:
|
||||
|
Reference in New Issue
Block a user