mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
5fd1e74903
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
663 B
663 B
title | description | categories | keywords | action | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IsMultiLingual | Reports whether the site is multilingual. |
|
Site configuration:
{{< code-toggle file=hugo >}} defaultContentLanguage = 'de' defaultContentLanguageInSubdir = true [languages] [languages.de] languageCode = 'de-DE' languageName = 'Deutsch' title = 'Projekt Dokumentation' weight = 1 [languages.en] languageCode = 'en-US' languageName = 'English' title = 'Project Documentation' weight = 2 {{< /code-toggle >}}
Template:
{{ .Site.IsMultiLingual }} → true