hugo.IsProduction
Reports whether the current running environment is “production”.
Syntax
hugo.IsProduction
Returns
bool
{{ hugo.IsProduction }} → true/false
Last updated:
December 4, 2023
:
Squashed 'docs/' changes from 4d936aee6..4dd2d6415 (35dec7c96)
Improve this page