{% macro separator(label, align='center') %} {# display a bloc separator @param label(unicode): label to show @param align(unicode): one of "left", "center", "right" #}
{% if align in ('center', 'right') %}
{% endif %}
{{label}}
{% if align in ('center', 'left') %}
{% endif %}
{% endmacro %} {% macro disco_icon_grid(disco_entities, icon_name) %} {# display discovered entities in a grid @param disco_entities: entities which mush have a name and url key or attribute @param icon_name: name of a defined icon #} {% endmacro %}