hugo.IsDevelopment
Reports whether the current running environment is “development”.
- Syntax
- hugo.IsDevelopment
- Returns
- bool
Usage
The hugo.IsDevelopment function reports whether the current running environment is development, the default when you run the hugo server command. Use the hugo.Environment function to return the name of the current running environment.
Examples
{{ hugo.IsDevelopment }} → true/falseLast updated:
November 8, 2026
:
content: Apply style guide to hugo functions (ed4f37ecc)
Improve this page