Hinode logo
  • About 
  • Docs 
  • Components 
  • Guides 
  • Releases 
  •  
Docs
  • Getting Started
    • Introduction
    • Commands
    • Hosting and Deployment
    • Upgrading
    • Private Modules and Packages
    • Contribute
    • Troubleshooting
  • Content
    • Content Management
    • Content Organization
    • Typography
    • Links and Cross-References
    • Images and Figures
    • Tables
    • Icons
  • Configuration
    • Layout
    • Colors
    • Color Modes
    • Fonts
    • Languages
    • Navigation
    • Documentation
    • Analytics
    • Modules
    • Cookie Consent
    • Digital Asset Managers
  • Components
    • Abbr
    • Accordion
    • Alert
    • Animation
    • Args
    • Badge
    • Breadcrumb
    • Button
    • Button Group
    • Card
    • Card Group
    • Carousel
    • Collapse
    • Command Prompt
    • Docs
    • Example
    • File
    • Icon
    • Image
    • Ins
    • Kbd
    • Link
    • Map
    • Mark
    • Navbar
    • Navs and Tabs
    • Persona
    • Release
    • Spinner
    • Sub
    • Sup
    • Table
    • Timeline
    • Toast
    • Tooltip
    • Video
  • Advanced Settings
    • Overview
    • Styles
    • Scripts
    • Icons
    • Partial Development
    • Module Development
    • Server Headers
    • Server-Side Redirection
  • About
    • Credits
    • License
  • Getting Started
    • Introduction
    • Commands
    • Hosting and Deployment
    • Upgrading
    • Private Modules and Packages
    • Contribute
    • Troubleshooting
  • Content
    • Content Management
    • Content Organization
    • Typography
    • Links and Cross-References
    • Images and Figures
    • Tables
    • Icons
  • Configuration
    • Layout
    • Colors
    • Color Modes
    • Fonts
    • Languages
    • Navigation
    • Documentation
    • Analytics
    • Modules
    • Cookie Consent
    • Digital Asset Managers
  • Components
    • Abbr
    • Accordion
    • Alert
    • Animation
    • Args
    • Badge
    • Breadcrumb
    • Button
    • Button Group
    • Card
    • Card Group
    • Carousel
    • Collapse
    • Command Prompt
    • Docs
    • Example
    • File
    • Icon
    • Image
    • Ins
    • Kbd
    • Link
    • Map
    • Mark
    • Navbar
    • Navs and Tabs
    • Persona
    • Release
    • Spinner
    • Sub
    • Sup
    • Table
    • Timeline
    • Toast
    • Tooltip
    • Video
  • Advanced Settings
    • Overview
    • Styles
    • Scripts
    • Icons
    • Partial Development
    • Module Development
    • Server Headers
    • Server-Side Redirection
  • About
    • 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].
type select button Type of the element. Supported values: [link, button].
version string yes Version string, expects semver notation with a v prefix.
Name Type Required Default
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].
type select button
Type of the element. Supported values: [link, button].
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" >}}
• Update to Hinode v0.27.13 (b6f5054)
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.29.3
Privacy | Cookies
 
Links
Home 
About 
Docs 
Components 
Releases 
Guides
Getting Started 
Developing Modules 
Optimization 
Versioning 
Community
Issues   
Discussions   
Contribute 
Hinode
Code copied to clipboard