mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'
This commit is contained in:
17
docs/content/en/functions/hugo/IsProduction.md
Normal file
17
docs/content/en/functions/hugo/IsProduction.md
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
title: hugo.IsProduction
|
||||
description: Reports whether the current running environment is "production".
|
||||
categories: []
|
||||
keywords: []
|
||||
action:
|
||||
aliases: []
|
||||
related:
|
||||
- functions/hugo/IsDevelopment
|
||||
- functions/hugo/Environment
|
||||
returnType: bool
|
||||
signatures: [hugo.IsProduction]
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.IsProduction }} → true/false
|
||||
```
|
Reference in New Issue
Block a user