{% for year, dates in sidebar_dates %} {% endfor %}