{% macro hub(title, sub=None) -%}

{{ title }}

{% if sub %}

{{ sub }}

{% endif %} {% if caller %}{{ caller() }}{% endif %}
{%- endmacro %} {% macro flash_list(flashes) -%} {% for kind, text in flashes %}
{{ text }}
{% endfor %} {%- endmacro %} {% macro csrf_field(csrf) -%} {%- endmacro %} {% macro copy_field(id, value, label) -%}
{%- endmacro %} {% macro flags(user) -%} {%- if user.is_admin %}admin{% endif -%} {%- if user.suspended %}suspended{% endif -%} {#{%- if not user.verified_to_login %}can't sign in{% endif -%}#} {%- if not user.account_verified %}unverified e-mail{% endif -%} {%- if user.show_in_dir %}listed in directory{% endif -%} {%- if user.is_tester %}tester{% endif -%} {%- if user.is_mvp %}MVP{% endif -%} {%- endmacro %} {% macro pager(page, pages, base) -%} {% if pages > 1 %} {% endif %} {%- endmacro %} {% macro tile(href, icon, big, name, note=None, tone=1, wide=False) -%} {{ big }} {{ name }} {% if note %}{{ note }}{% endif %} {%- endmacro %} {% macro alert_row(alert) -%}
  • {{ alert.text }}

    {{ alert.date | ago }} by {{ alert.by }} · {{ alert.reach }}{% if alert.url %} · link (opens in a new tab){% endif %}

  • {%- endmacro %}