Hugo Shortcodes
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Partial as Shortcode

How to use

# file.md
{{< partial "spotify_button.html" >}}

Shortcode


{{ partial (.Get 0) }}

Sample

Highlighted Example from Partial


Source: Unknown