{% 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 %} {% macro interests_grid(interests, default_icon_name) %} {# display list of interests @param interests: list of interests @param default_icon_name: name of a defined icon to use when no thumb_url is available #} {% endmacro %}