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

16 lines
309 B
Markdown

---
title: hugo.IsProduction
description: Reports whether the current running environment is "production".
categories: []
keywords: []
params:
functions_and_methods:
aliases: []
returnType: bool
signatures: [hugo.IsProduction]
---
```go-html-template
{{ hugo.IsProduction }} → true/false
```