From 47099c4fa1ed8ecf34536c94be0b4b88f87ac2de Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Wed, 10 Sep 2025 10:35:45 -0700 Subject: [PATCH] content: Remove outdated new-in badges --- content/en/functions/debug/Timer.md | 2 -- content/en/functions/hugo/IsDevelopment.md | 2 -- content/en/functions/hugo/IsServer.md | 2 -- content/en/functions/images/Padding.md | 2 -- 4 files changed, 8 deletions(-) diff --git a/content/en/functions/debug/Timer.md b/content/en/functions/debug/Timer.md index 74395b130..4d4b02650 100644 --- a/content/en/functions/debug/Timer.md +++ b/content/en/functions/debug/Timer.md @@ -10,8 +10,6 @@ params: signatures: [debug.Timer NAME] --- -{{< new-in 0.120.0 />}} - Use the `debug.Timer` function to determine execution time for a block of code, useful for finding performance bottlenecks in templates. The timer starts when you instantiate it, and stops when you call its `Stop` method. diff --git a/content/en/functions/hugo/IsDevelopment.md b/content/en/functions/hugo/IsDevelopment.md index cea923acd..2392c54ea 100644 --- a/content/en/functions/hugo/IsDevelopment.md +++ b/content/en/functions/hugo/IsDevelopment.md @@ -10,8 +10,6 @@ params: signatures: [hugo.IsDevelopment] --- -{{< new-in 0.120.0 />}} - ```go-html-template {{ hugo.IsDevelopment }} → true/false ``` diff --git a/content/en/functions/hugo/IsServer.md b/content/en/functions/hugo/IsServer.md index 840ff060d..771d4eb71 100644 --- a/content/en/functions/hugo/IsServer.md +++ b/content/en/functions/hugo/IsServer.md @@ -10,8 +10,6 @@ params: signatures: [hugo.IsServer] --- -{{< new-in 0.120.0 />}} - ```go-html-template {{ hugo.IsServer }} → true/false ``` diff --git a/content/en/functions/images/Padding.md b/content/en/functions/images/Padding.md index da15a44ca..8e6d05c01 100644 --- a/content/en/functions/images/Padding.md +++ b/content/en/functions/images/Padding.md @@ -10,8 +10,6 @@ params: signatures: ['images.Padding V1 [V2] [V3] [V4] [COLOR]'] --- -{{< new-in 0.120.0 />}} - The last argument is the canvas color, expressed as an RGB or RGBA [hexadecimal color]. The default value is `ffffffff` (opaque white). The preceding arguments are the padding values, in pixels, using the CSS [shorthand property] syntax. Negative padding values will crop the image. [hexadecimal color]: https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color