hugo.IsProduction
Reports whether the current running environment is “production”.
Syntax
hugo.IsProduction
Returns
bool
{{ hugo.IsProduction }} → true/false
Last updated:
March 5, 2025
:
content: Remove "related" array from function and method pages (2fcd21ee5)
Improve this page