{% include_cached logo.svg %} {% comment %} TODO: Add CSS-only hamburger menu. {% endcomment %}
    {%- for item in site.i18n.menu.items -%} {% comment %} This makes it hard to just cache the whole navbar, but we prefer to mark the active item in code rather than with JS. {% endcomment %}
  • {{ item.text }} {%- if page.url == item.url -%} {{ site.i18n.menu.active | default: '(current)' }} {%- endif %}
  • {%- endfor -%}