{% for snap in snapshots %}
v{{ snap.version }} {% if snap.is_active %}active{% endif %}

{{ snap.label }}

{% if snap.is_active %} Active {% endif %}

{{ snap.description or 'No description' }}

{{ snap.files | length }} files {{ snap.created_at.strftime('%b %d, %H:%M') }} {% if snap.diff %} +{{ snap.diff.get('added', []) | length }} ~{{ snap.diff.get('modified', []) | length }} -{{ snap.diff.get('removed', []) | length }} {% endif %}
{% if not snap.is_active %} {% endif %}
{% else %}

No snapshots yet — generate code to create the first one.

{% endfor %}