Release
Use the release shortcode to indicate the availability of a specific feature in a tagged release.
Since Hinode v0.14.1 you can indicate the availability of a specific feature. The release shortcode renders a button that links to the specific release. Use the state to indicate if the feature is new or deprecated.
The shortcode supports the following arguments:
| Argument | Required | Description |
|---|---|---|
| version | Yes | Required version string, expects semver notation with a “v” prefix. |
| state | No | Optional state, either “new” (default) or “deprecated”. |
| short | No | Optional flag to indicate the release button should use short notation. |
Ensure the release parameter is set in the site’s configuration.
Change the style of your release button using the available arguments.
Indicate a new feature by using default values for the optional arguments.
Indicate a deprecated feature by setting state to deprecated.
Shorten the button title by setting short to true.
{{< release version="v0.14.1" short="true" >}}
{{< release version="v0.14.1" short="true" state="deprecated" >}}