{% extends "layout.jinja2" %}

{% block content %}
<div class="content">
  <h1>Card Dates </h1>
  <table class="table table-striped">
      <thead>
          <tr>
              <th>Date</th>
              <th>Cards</th>
          </tr>
      </thead>
      <tbody>
          {%  for day in datelist %}
          <tr>
                <td><a href="/cards/{{day.date}}">{{day.date | date('long')}}</a></td>
                <td>{{day.count}} cards</td>
          </tr>
          {% endfor %}
        </tbody>
    </table>
</div>
{% endblock content %}
