Badge
Badges can be used to signify short information and can be placed next to headings or other types of text.
There are two ways badges are implemented with the LFP Docs default theme:
- Using the
{% badge %}shortcode. - Setting the
badgefrontmatter key.
When using the shortcode, you can add arbitrary text content for the badge.
Example
{% badge "caution" %}Caution{% endbadge %}
{% badge "important" %}Important{% endbadge %}
{% badge "note" %}Note{% endbadge %}
{% badge "tip" %}Tip{% endbadge %}
{% badge "warning" %}Warning{% endbadge %}
Caution
Important
Note
Tip
Warning