Hinode logo
  • About 
  • Docs 
  • Components 
  • Guides 
  • Releases 
  •  
  •    Toggle theme
    •   Light
    •   Dark
    •   Auto
  •  
    •   Light
    •   Dark
    •   Auto
Docs
    • Introduction
    • Commands
    • Hosting and deployment
    • Upgrading
    • Contribute
    • Troubleshooting
    • Content management
    • Content organization
    • Typography
    • Links and cross-references
    • Images and figures
    • Tables
    • Icons
    • Layout
    • Colors
    • Color modes
    • Fonts
    • Languages
    • Navigation
    • Documentation
    • Analytics
    • Modules
    • Abbr
    • Accordion
    • Alert
    • Animation
    • Badge
    • Breadcrumb
    • Button
    • Button group
    • Card
    • Card group
    • Carousel
    • Collapse
    • Command prompt
    • Docs
    • Example
    • File
    • Icon
    • Image
    • Kbd
    • Link
    • Map
    • Mark
    • Navbar
    • Navs and tabs
    • Release
    • Spinner
    • Spinner
    • Sub
    • Sup
    • Timeline
    • Toast
    • Tooltip
    • Overview
    • Styles
    • Scripts
    • Icons
    • Module development
    • Server headers
    • Server-side redirection
    • Credits
    • License
    • Introduction
    • Commands
    • Hosting and deployment
    • Upgrading
    • Contribute
    • Troubleshooting
    • Content management
    • Content organization
    • Typography
    • Links and cross-references
    • Images and figures
    • Tables
    • Icons
    • Layout
    • Colors
    • Color modes
    • Fonts
    • Languages
    • Navigation
    • Documentation
    • Analytics
    • Modules
    • Abbr
    • Accordion
    • Alert
    • Animation
    • Badge
    • Breadcrumb
    • Button
    • Button group
    • Card
    • Card group
    • Carousel
    • Collapse
    • Command prompt
    • Docs
    • Example
    • File
    • Icon
    • Image
    • Kbd
    • Link
    • Map
    • Mark
    • Navbar
    • Navs and tabs
    • Release
    • Spinner
    • Spinner
    • Sub
    • Sup
    • Timeline
    • Toast
    • Tooltip
    • Overview
    • Styles
    • Scripts
    • Icons
    • Module development
    • Server headers
    • Server-side redirection
    • Credits
    • License

Release

Share via
Hinode
Link copied to clipboard

Use the release shortcode to indicate the availability of a specific feature in a tagged release.

On this page
 

  • Overview
  • Arguments
  • Site configuration
  • Examples
    • New feature
    • Deprecated feature
    • Short feature

Overview  

Added in v0.14.1  

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.

Added in v0.14.1  
markdown
{{< release version="v0.14.1" >}}

Arguments  

The shortcode supports the following arguments:

ArgumentRequiredDescription
versionYesRequired version string, expects semver notation  with a “v” prefix.
stateNoOptional state, either “new” (default) or “deprecated”.
shortNoOptional flag to indicate the release button should use short notation.
sizeNoOptional size of the button, either “sm”, “md” (default), or “lg”.
inlineNoIf set, renders the release button inline (defaults to false).
classNoOptional class attribute of the button element.

Site configuration  

Ensure the release parameter is set in the site’s configuration.

Examples  

Change the style of your release button using the available arguments.

New feature  

Indicate a new feature by using default values for the optional arguments.

Added in v0.14.1  
markdown
{{< release version="v0.14.1" >}}

Deprecated feature  

Indicate a deprecated feature by setting state to deprecated.

Deprecated in v0.14.1  
markdown
{{< release version="v0.14.1" state="deprecated" >}}

Short feature  

Shorten the button title by setting short to true.

v0.14.1  
v0.14.1  
markdown
{{< release version="v0.14.1" short="true" >}}
{{< release version="v0.14.1" short="true" state="deprecated" >}}
Last updated: August 10, 2023 • Add size and inline args (106f964)
On this page
  • Overview
  • Arguments
  • Site configuration
  • Examples
    • New feature
    • Deprecated feature
    • Short feature
Release
Release
Hinode is a clean documentation and blog theme for your Hugo site based on Bootstrap 5.
Code licensed MIT, docs CC BY-NC 4.0
Currently v0.21.11
 
Links
Home 
About 
Docs 
Components 
Releases 
Guides
Getting started 
Developing modules 
Optimization 
Versioning 
Community
Issues  
Discussions  
Contribute 
Hinode
Code copied to clipboard