hugo/docs/content/en/methods/site/IsServer.md
2024-06-21 09:41:24 +02:00

435 B

title description categories keywords action expiryDate
IsServer Reports whether the built-in development server is running.
related returnType signatures
bool
SITE.IsServer
2024-10-30

{{% deprecated-in 0.120.0 %}} Use hugo.IsServer instead.

{{% /deprecated-in %}}

{{ .Site.IsServer }} → true/false