{% ckan_extends %} {%- 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) }} {%- if subtitle -%}

{{ subtitle }}

{%- endif %} {%- endif %} {%- endmacro %} {%- set header_logo = header_logo or _header_logo -%} {%- macro _footer(content) -%} {%- endmacro %} {%- set footer = footer or _footer -%} {%- macro _footer_main(content) -%}
{{ content }}
{%- endmacro %} {%- set footer_main = footer_main or _footer_main -%} {%- macro _footer_secondary(content) -%}
{{ content }}
{%- endmacro %} {%- set footer_secondary = footer_secondary or _footer_secondary -%} {%- macro _account_nav_item(content, href, active) -%} {{ ui.nav_item(content, href, active, **kwargs) }} {%- endmacro %} {%- set account_nav_item = account_nav_item or _account_nav_item -%} {%- macro facet_section(content, title, items, key, collapsed, has_more) -%}

{% if items %} {% else %}

{{ _('There are no {facet_type} that match this search').format(facet_type=title) }}

{% endif %}
{%- endmacro %} {%- set facet_section = facet_section or _facet_section -%} {%- macro _content_action_wrapper(content) -%}
{{- content -}}
{%- endmacro %} {%- set content_action_wrapper = content_action_wrapper or _content_action_wrapper -%} {%- macro _content_nav_wrapper(content) -%} {%- endmacro %} {%- set content_nav_wrapper = content_nav_wrapper or _content_nav_wrapper -%} {%- macro _main_nav_wrapper(content) -%} {%- endmacro %} {%- set main_nav_wrapper = main_nav_wrapper or _main_nav_wrapper -%} {%- macro _page_action_wrapper(content, variant) -%} {%- set classes = "mb-3 mb-md-0 ms-3 pull-right" -%} {%- if variant == "dashboard" -%} {%- set classes = " col-md-4" -%} {%- endif %}
{{- content -}}
{%- endmacro %} {%- set page_action_wrapper = page_action_wrapper or _page_action_wrapper -%}