IsServer
Reports whether the built-in development server is running.
Syntax
SITE.IsServer
Returns
bool
Deprecated in v0.120.0
Use hugo.IsServer
instead.
Hugo Documentation
Syntax
Returns
Deprecated in v0.120.0
Use hugo.IsServer
instead.