mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
1 parent
fdb579ad1c
commit
5b0edfd790
1 file changed
+3
@@ -52,6 +52,9 @@ The following is a list of site-level (aka "global") variables. Many of these va
|
|||||||
.Site.IsMultiLingual
|
.Site.IsMultiLingual
|
||||||
: whether there are more than one language in this site. See [Multilingual](/content-management/multilingual/) for more information.
|
: whether there are more than one language in this site. See [Multilingual](/content-management/multilingual/) for more information.
|
||||||
|
|
||||||
|
.Site.IsServer
|
||||||
|
: a boolean to indicate if the site is being served with Hugo's built-in server. See [`hugo server`](/commands/hugo_server/) for more information.
|
||||||
|
|
||||||
.Site.Language.Lang
|
.Site.Language.Lang
|
||||||
: the language code of the current locale (e.g., `en`).
|
: the language code of the current locale (e.g., `en`).
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user