hugo.IsServer
Reports whether the built-in development server is running.
Syntax
hugo.IsServer
Returns
bool
{{ hugo.IsServer }} → true/false
Last updated:
March 5, 2025
:
content: Consolidate configuration documentation (b6cae5cbc)
Improve this pageHugo Documentation
Syntax
Returns
{{ hugo.IsServer }} → true/false