{% macro render_card_content(name, store) -%} {{ name }} {% for test in store | dictsort %} {% if "data" in test[1] %} {% for pair in test[1]["data"] | dictsort %} {% if pair[1] is iterable and pair[1] is not string %} {{ render_list_content(pair[0], pair[1]) }} {% else %} {{ pair[0] }} {{ pair[1] }} {% endif %} {% endfor %} {% endif %} {% endfor %} {%- endmacro %} {% macro render_list_content(key, list) -%} {{ key }} {{ list | length }} expand_more {{ list }} {%- endmacro %} {% macro render_plot_card(name, data) -%} {{ name }} {% for pair in data | dictsort %} {{ pair[0] }} {{ pair[1] }} {% endfor %} {%- endmacro %}