Adjust deprecation handling

This commit is contained in:
Joe Mooring authored and GitHub committed 2023-12-29 13:29:34 -08:00
1 parent f7e19a25b5
commit 88b21fae0a
7 files changed
+32 -26

No files matched your search

+5 -4
View File
@@ -7,10 +7,7 @@ action:
related: []
returnType: bool
signatures: [SITE.IsDevelopment]
# deprecated 2023-10-30
expiryDate: 2024-10-30
_build:
list: never
expiryDate: 2024-10-30 # deprecated 2023-10-30
---
{{% deprecated-in 0.120.0 %}}
@@ -18,3 +15,7 @@ Use [`hugo.IsDevelopment`] instead.
[`hugo.IsDevelopment`]: /functions/hugo/isdevelopment
{{% /deprecated-in %}}
```go-html-template
{{ .Site.IsDevelopment }} → true/false
```