HUGO
News Docs Themes Community GitHub

hugo.IsProduction

Reports whether the current running environment is “production”.

Syntax

hugo.IsProduction

Returns

bool
{{ hugo.IsProduction }} → true/false

Last updated: January 1, 0001
Improve this page