{% ckan_extends %} {%- macro _header(content, title, subtitle, logo, href=h.url_for('home.index')) -%} {%- set item_kwargs = kwargs -%}
{%- call ui.util.call(ui.container) -%} {% if g.debug and not g.debug_supress_header %}
Blueprint : {{ g.blueprint }}
View : {{ g.view }}
{% endif %} {%- endcall %}
{%- endmacro %} {%- set header = header or _header -%} {%- 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(content) -%} {%- endmacro %} {%- set content_nav = content_nav or _content_nav -%} {%- macro _main_nav(content) -%} {%- endmacro %} {%- set main_nav = main_nav or _main_nav -%} {%- 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 -%} {%- macro _sidebar_nav(content) -%}
{{ ui.heading(title, level=2, attrs={"class": "module-heading bg-primary text-bg-primary"}) if title }}
{%- endmacro %} {%- set sidebar_nav = sidebar_nav or _sidebar_nav -%}