{%- from "components/macros.html" import navbar_dropdown with context %} {%- if daisy.header and (daisy.header.shown or daisy.header.more) %} {%- for link in daisy.header.shown %} {{ link.title|e }}{% if link.external %}{{ daisy.icon("external-link", "size-3.5 opacity-60") }}{{ _("(leads outside the site)") }}{% endif %} {%- endfor %} {%- if daisy.header.more %} {%- call(part) navbar_dropdown(tag="li", panel_tag="ul", trigger_class="font-medium" ~ (" btn-active text-primary" if daisy.header.more_current else ""), panel_class="menu w-56", trigger_attrs={"aria-current": "true"} if daisy.header.more_current else {}) %} {%- if part == "trigger" %}{{ daisy.header.more_text|e }}{{ daisy.icon("chevron-down", "size-4") }} {%- else %} {%- for link in daisy.header.more %} {{ link.title|e }}{% if link.external %}{{ daisy.icon("external-link", "size-3.5 opacity-60") }}{{ _("(leads outside the site)") }}{% endif %} {%- endfor %} {%- endif %} {%- endcall %} {%- endif %} {%- endif %}