Remove new-in label

This commit is contained in:
Joe Mooring 2024-06-08 08:04:51 -07:00 committed by Joe Mooring
parent 0359c4a1ec
commit ea6a9fa3f5
2 changed files with 6 additions and 6 deletions

View File

@ -237,7 +237,7 @@ fm
Use the “deprecated-in” shortcode to indicate that a feature is deprecated:
```text
{{%/* deprecated-in 0.120.0 */%}}
{{%/* deprecated-in 0.127.0 */%}}
Use [`hugo.IsServer`] instead.
[`hugo.IsServer`]: /functions/hugo/isserver/
@ -246,7 +246,7 @@ Use [`hugo.IsServer`] instead.
Rendered:
{{% deprecated-in 0.120.0 %}}
{{% deprecated-in 0.127.0 %}}
Use [`hugo.IsServer`] instead.
[`hugo.IsServer`]: /functions/hugo/isserver/
@ -273,12 +273,12 @@ This is a link to the [embedded alias template].
Use the "new-in" shortcode to indicate a new feature:
```text
{{</* new-in 0.120.0 */>}}
{{</* new-in 0.127.0 */>}}
```
Rendered:
{{< new-in 0.120.0 >}}
{{< new-in 0.127.0 >}}
### note
@ -308,7 +308,7 @@ Use the "new-in" shortcode to indicate a new feature:
{{</* new-in 0.120.0 */>}}
{{< /code >}}
The "new in" label will be hidden if the specified version is older than a predefined threshold, based on differences in major and minor versions. See&nbsp;[details](https://github.com/gohugoio/hugoDocs/blob/master/layouts/shortcodes/new-in.html).
The "new in" label will be hidden if the specified version is older than a predefined threshold, based on differences in major and minor versions. See&nbsp;[details](https://github.com/gohugoio/hugoDocs/blob/master/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/new-in.html).
## Deprecated features

View File

@ -25,7 +25,7 @@ targetPath
: (`string`) If not set, the source path will be used as the base target path.
Note that the target path's extension may change if the target MIME type is different, e.g. when the source is TypeScript.
params {{< new-in "0.96.0" >}}
params
: (`map` or `slice`) Params that can be imported as JSON in your JS files, e.g.:
```go-html-template