blob: c009ba0de956978a0725bb6b5b9377585513e005 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
```
|