bootstrap4-theme/templates/includes/sidebar/macros.jinja

8 lines
215 B
Plaintext
Raw Normal View History

2019-04-19 18:30:55 +00:00
{% macro title(name, no_icon, icon='home') -%}
{%- if no_icon -%}
{{ name }}
{%- else -%}
<i class="fa fa-{{ icon }} fa-lg"></i><span class="icon-label">{{ name }}</span>
{%- endif -%}
{%- endmacro %}