Init
This commit is contained in:
7
templates/includes/sidebar/macros.jinja
Normal file
7
templates/includes/sidebar/macros.jinja
Normal file
@ -0,0 +1,7 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user