mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 18:34:48 -04:00
content: Remove outdated new-in badges
This commit is contained in:
parent
439b5c18bc
commit
47099c4fa1
@ -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.
|
||||
|
@ -10,8 +10,6 @@ params:
|
||||
signatures: [hugo.IsDevelopment]
|
||||
---
|
||||
|
||||
{{< new-in 0.120.0 />}}
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.IsDevelopment }} → true/false
|
||||
```
|
||||
|
@ -10,8 +10,6 @@ params:
|
||||
signatures: [hugo.IsServer]
|
||||
---
|
||||
|
||||
{{< new-in 0.120.0 />}}
|
||||
|
||||
```go-html-template
|
||||
{{ hugo.IsServer }} → true/false
|
||||
```
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user