2021-07-01 07:05:26 +00:00
|
|
|
---
|
|
|
|
title: Icons
|
|
|
|
---
|
|
|
|
|
2021-03-03 20:07:59 +00:00
|
|
|
Simple shortcode to include icons from SVG sprites outside of menus.
|
|
|
|
|
2022-01-06 12:58:10 +00:00
|
|
|
<!-- prettier-ignore-start -->
|
2021-03-03 20:07:59 +00:00
|
|
|
```tpl
|
|
|
|
{{</* icon "thumbs-up" */>}}
|
|
|
|
```
|
2022-01-06 12:58:10 +00:00
|
|
|
<!-- prettier-ignore-end -->
|
2021-03-03 20:07:59 +00:00
|
|
|
|
2022-07-11 18:45:55 +00:00
|
|
|
## Usage
|
2021-03-03 20:07:59 +00:00
|
|
|
|
|
|
|
| Result | Usage |
|
|
|
|
| -------------------------- | -------------------------------- |
|
|
|
|
| {{< icon "thumbs-up" >}} | `{{</* icon "thumbs-up" */>}}` |
|
|
|
|
| {{< icon "thumbs-down" >}} | `{{</* icon "thumbs-down" */>}}` |
|
|
|
|
| {{< icon "laugh" >}} | `{{</* icon "laugh" */>}}` |
|
|
|
|
| {{< icon "lemon" >}} | `{{</* icon "lemon" */>}}` |
|
|
|
|
| {{< icon "moon" >}} | `{{</* icon "moon" */>}}` |
|