summaryrefslogtreecommitdiff
path: root/templates/_feed_partial.html
blob: e22cdde9953a47e07694457d668f8ff9879a1982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% if active_shelf == 'diary' and grouped_films %}
  {% for group in grouped_films %}
    <div class="month-group" data-month="{{ group.month }}">
      <p class="month-label">{{ group.month }}</p>
      {% for film in group.films %}
        {% include "_film_card.html" %}
      {% endfor %}
    </div>
  {% endfor %}
{% else %}
  {% for film in films %}
    {% include "_film_card.html" %}
  {% endfor %}
{% endif %}