sitolost/pelican-themes/pelican-bootstrap3bis/templates/includes/sidebar/macros.jinja

8 lines
215 B
Plaintext
Raw Normal View History

2019-10-23 14:37:16 +02: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 %}