{% import "plainui/components/logo.html" as logoMacro %}
{% import "plainui/components/alert.html" as alert %}
{% macro menuitem(item) -%}
{% set active = item.url and request.path.startswith(item.url) %}
{% endif %}
{% endmacro %}
{#
Top navbar incl. page title and mobile version.
TODO this should eventually become "header".
#}
{% macro top_nav(title, has_breadcrumbs=False) %}