diff options
Diffstat (limited to 'docs/content/en/methods/site/IsDevelopment.md')
-rw-r--r-- | docs/content/en/methods/site/IsDevelopment.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/content/en/methods/site/IsDevelopment.md b/docs/content/en/methods/site/IsDevelopment.md new file mode 100644 index 000000000..c009ba0de --- /dev/null +++ b/docs/content/en/methods/site/IsDevelopment.md @@ -0,0 +1,21 @@ +--- +title: IsDevelopment +description: Reports whether the current running environment is “development”. +categories: [] +keywords: [] +action: + related: [] + returnType: bool + signatures: [SITE.IsDevelopment] +expiryDate: 2024-10-30 # deprecated 2023-10-30 +--- + +{{% deprecated-in 0.120.0 %}} +Use [`hugo.IsDevelopment`] instead. + +[`hugo.IsDevelopment`]: /functions/hugo/isdevelopment +{{% /deprecated-in %}} + +```go-html-template +{{ .Site.IsDevelopment }} → true/false +``` |