{% extends "base.html" %} {% block content %}

# Scan History

Browse previous narratives already saved on disk. Selecting a scan returns you to the overview.

{% if scan_meta and scan_meta.last_snapshot_label %}
Last snapshot: {{ scan_meta.last_snapshot_label }}
{% endif %} {% if scan_meta and scan_meta.sources_expected is not none %}
Sources detected: {{ scan_meta.sources_found }} / {{ scan_meta.sources_expected }}
{% endif %}
{% if has_reports %}

## Daily scans

{{ (daily_scans|length) if daily_scans else 0 }}
{% if daily_scans and daily_scans|length > 0 %}

{% for scan in daily_scans %}
- {{ scan.id }}
  Daily
  {{ scan.preview }}
{% endfor %}

{% else %}
No daily scans found.
{% endif %}

## Weekly scans

{{ (weekly_scans|length) if weekly_scans else 0 }}
{% if weekly_scans and weekly_scans|length > 0 %}

{% for scan in weekly_scans %}
- {{ scan.id }}
  Weekly
  {{ scan.preview }}
{% endfor %}

{% else %}
No weekly scans found.
{% endif %}
{% else %}

### No snapshots yet

No saved daily or weekly snapshots were found on disk. Once you generate a snapshot, your past narratives will appear here automatically.

{% endif %} {% if scan_meta %}
Reading from: {% if scan_meta.daily_dir %}`{{ scan_meta.daily_dir }}`{% endif %} {% if scan_meta.weekly_dir %} `{{ scan_meta.weekly_dir }}`{% endif %}
{% endif %}
{% endblock %}