{% for year, dates in years.items %}
  1. {{ year }}
      {% for date in dates %}
    1. {{ date|date:'F j' }}
    2. {% endfor %}
  2. {% endfor %}