Can you use this instead:
```
{% for date in dates %}
  ...
{% else %}
   Hoooray!
{% endfor %}
```