{# The small parts the pages share. #} {% macro state_tag(state) -%} {% set kinds = {"healthy": "ok", "silent": "warn", "unreadable": "bad"} %} {{ state }} {%- endmacro %} {% macro counts(found) -%} {% for count in found if count.count %}{{ count.name }} {{ count.count }} {% else %}none{% endfor %} {%- endmacro %} {% macro facts(found) -%}