{% for col in (1..7) %}
         <div class="calendar-date">{{ day-names[forloop.index0] }}</div>
         {% endfor %}
      </div>
      <div class="calendar-body">
         {% for day in (start-day..end-day) %}
            {% if day <= 0 %}
            {% assign d = 31 | plus: day %}
            {% elsif day > days %}
            {% assign d = day | minus: days %}
            {% else %}
            {% assign d = day %}
            {% endif %}

            <div class="calendar-date{% if day <= 0 %} prev-m