hugo.IsProduction
Reports whether the current running environment is “production”.
Syntax
hugo.IsProduction
Returns
bool
{{ hugo.IsProduction }} → true/false
Hugo Documentation
Syntax
Returns
{{ hugo.IsProduction }} → true/false