From ee24cffb580a36c69a5df64b6c9a9b72eaa933ee Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 30 Oct 2023 09:03:17 -0700 Subject: [PATCH] Add new-in tags to hugo.IsDevelopment and hugo.IsServer --- content/en/functions/hugo/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/functions/hugo/index.md b/content/en/functions/hugo/index.md index 761c8d604..3f1202481 100644 --- a/content/en/functions/hugo/index.md +++ b/content/en/functions/hugo/index.md @@ -37,7 +37,7 @@ aliases: [/functions/hugo] `hugo.GoVersion` : (`string`) The Go version used to compile the Hugo binary (e.g., `go1.20.4`). {{< new-in "0.101.0" >}} -`hugo.IsDevelopment` +`hugo.IsDevelopment` {{< new-in "0.120.0" >}} : (`bool`) Returns `true` if `hugo.Environment` is "development". `hugo.IsExtended` @@ -46,7 +46,7 @@ aliases: [/functions/hugo] `hugo.IsProduction` : (`bool`) Returns `true` if `hugo.Environment` is "production". -`hugo.IsServer` +`hugo.IsServer` {{< new-in "0.120.0" >}} : (`bool`) Returns `true` if the site is being served with Hugo's built-in server. `hugo.Version`