{# The application's header, defined once and used by every page. Four templates each carried their own copy: the logo was an

on three of them and a link on the fourth, one had a stray nested anchor, and the navigation had drifted so that Plugins appeared only on the dataset list. Pages that need more in the bar -- a breadcrumb, a toolbar -- call it and put that content in the body: {% from "partials/header.html" import header with context %} {% call header('explorer') %}
...
{% endcall %} Pages that need nothing extra call it plainly: {{ header('datasets') }} #} {% macro header(active) %}
{# A link home rather than a heading: the same logo on every page is navigation, not the page's title. #} {% if caller %}{{ caller() }}{% endif %}
{% endmacro %}