{{ site.title }} {% 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.title }} {%- if page.url == item.href -%} {{ site.i18n.menu.active | default: '(current)' }} {%- endif -%}
  • {%- endfor -%}