Icon
Example
Usage
{{< icon "github" >}}
Heroicons v1 outline icons are available out of the box.
List of available icons can be found in data/icons.yaml
.
How to add your own icons
Create data/icons.yaml
file, then add your own SVG icons in the following format:
data/icons.yaml
your-icon: <svg>your icon svg content</svg>
It then can be used in the shortcode like this:
{{< icon "your-icon" >}}
{{< card icon="your-icon" >}}
Tip: Iconify Design is a great place to find SVG icons for your site.