Skip to content

Commit

Permalink
Remove new-in label
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring committed Jun 8, 2024
1 parent 0359c4a commit ea6a9fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions content/en/contribute/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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/
Expand All @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion content/en/hugo-pipes/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea6a9fa

Please sign in to comment.