diff --git a/content/en/contribute/documentation.md b/content/en/contribute/documentation.md index 24d15eb400..61c603d6c3 100644 --- a/content/en/contribute/documentation.md +++ b/content/en/contribute/documentation.md @@ -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 -{{}} +{{}} ``` 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: {{}} {{< /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 [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 [details](https://github.com/gohugoio/hugoDocs/blob/master/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/new-in.html). ## Deprecated features diff --git a/content/en/hugo-pipes/js.md b/content/en/hugo-pipes/js.md index 4200eb5c00..ddde8313ae 100644 --- a/content/en/hugo-pipes/js.md +++ b/content/en/hugo-pipes/js.md @@ -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