{% macro icon(name,lib='glyphicon') %} {% if '_' in lib %} {% set lib = lib.replace('_','-') %} {% endif %} {% endmacro %}