hugo/docs/content/en/functions/hugo/IsProduction.md

18 lines
357 B
Markdown
Raw Normal View History

---
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
```