9 lines
249 B
HTML
9 lines
249 B
HTML
{% from "components/icon.html" import Icon %}
|
|
|
|
{% macro Label(icon_name, text, type=None, classes="") -%}
|
|
|
|
<span class='label {% if type %}label--{{ type }}{% endif %} {{ classes }}'>
|
|
{{ Icon(icon_name) }} {{ text }}
|
|
</span>
|
|
{%- endmacro %}
|