{% import 'macros/links.html' as links %}
{% macro header_row(oob=False) %}
  {% call links.menu_row(id='calendar-row', oob=oob) %}
    <a href="{{ events_url('/' + post.slug + '/calendars/' + calendar.slug + '/') }}" class="flex items-center gap-2 px-3 py-2 rounded whitespace-normal text-center break-words leading-snug">
      <div class="flex flex-col md:flex-row md:gap-2 items-center min-w-0">
        <div class="flex flex-row items-center gap-2">
          <i class="fa fa-calendar"></i>
          <div class="shrink-0">
            {{ calendar.name }}
          </div>
        </div>
        {% from '_types/calendar/_description.html' import description %}
        {{description(calendar)}}
      </div>
    </a>
    {% call links.desktop_nav() %}    
      {% include '_types/calendar/_nav.html' %}
    {% endcall %}
  {% endcall %}
{% endmacro %}



