mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 08:14:48 -04:00
Add new-in tags to hugo.IsDevelopment and hugo.IsServer
This commit is contained in:
parent
aa47ca0232
commit
ee24cffb58
@ -37,7 +37,7 @@ aliases: [/functions/hugo]
|
||||
`hugo.GoVersion`
|
||||
: (`string`) The Go version used to compile the Hugo binary (e.g., `go1.20.4`). {{< new-in "0.101.0" >}}
|
||||
|
||||
`hugo.IsDevelopment`
|
||||
`hugo.IsDevelopment` {{< new-in "0.120.0" >}}
|
||||
: (`bool`) Returns `true` if `hugo.Environment` is "development".
|
||||
|
||||
`hugo.IsExtended`
|
||||
@ -46,7 +46,7 @@ aliases: [/functions/hugo]
|
||||
`hugo.IsProduction`
|
||||
: (`bool`) Returns `true` if `hugo.Environment` is "production".
|
||||
|
||||
`hugo.IsServer`
|
||||
`hugo.IsServer` {{< new-in "0.120.0" >}}
|
||||
: (`bool`) Returns `true` if the site is being served with Hugo's built-in server.
|
||||
|
||||
`hugo.Version`
|
||||
|
Loading…
x
Reference in New Issue
Block a user