{%- macro subtitle_item(content, initial) -%} {%- do kwargs -%} {{ content }} {%- if not initial %} {{ g.template_title_delimiter }} {% endif %} {%- endmacro %} {%- macro account(content, title, subtitle, logo) -%}
{{ ui.container(content) }}
{%- endmacro %} {%- macro header_logo(href, logo, title, subtitle) -%} {% if logo -%} {%- do kwargs.setdefault("attrs", {}).setdefault("class", "logo") -%} {{ ui.link(ui.image(h.url_for_static_or_external(logo), alt=title, aria={"label": _('Navigate to Home - {site_title}').format(site_title=title)}), href=href, **kwargs) }} {%- else -%}

{{ ui.link(title, href=href, **kwargs) }}

{%- endif %} {%- if subtitle -%}

{{ subtitle }}

{%- endif %} {%- endmacro %} {%- macro header(content, title, subtitle, logo, href) -%}
{%- call ui.util.call(ui.container) -%} {% if g.debug and not g.debug_supress_header %}
Blueprint : {{ g.blueprint }}
View : {{ g.view }}
{% endif %} {%- endcall %}
{%- endmacro %} {%- macro footer(content) -%} {%- endmacro %} {%- macro footer_main(content) -%} {%- do kwargs -%}{{ content }} {%- endmacro %} {%- macro footer_secondary(content) -%} {%- do kwargs -%} {%- endmacro %}