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
    • Args
    • 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
    • Persona
    • Release
    • Spinner
    • Sub
    • Sup
    • Table
    • Timeline
    • Toast
    • Tooltip
    • YouTube
    • Overview
    • Styles
    • Scripts
    • Icons
    • Partial development
    • 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
    • Args
    • 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
    • Persona
    • Release
    • Spinner
    • Sub
    • Sup
    • Table
    • Timeline
    • Toast
    • Tooltip
    • YouTube
    • Overview
    • Styles
    • Scripts
    • Icons
    • Partial development
    • 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:

Name Type Required Default Comment
class string Class attribute of the button element.
inline bool false Flag to render the release button inline.
short bool Flag to indicate the release button should use short notation.
size select md Size of the button. Supported values: [sm, md, lg].
state select new State of the feature. Supported values: [new, deprecated].
version string yes Version string, expects semver notation with a v prefix.

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: December 30, 2023 • Move arguments to data structure (57f5052)
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.22.3
 
Links
Home 
About 
Docs 
Components 
Releases 
Guides
Getting started 
Developing modules 
Optimization 
Versioning 
Community
Issues   
Discussions   
Contribute 
Hinode
Code copied to clipboard