{# _source_card.html — reusable Source Card template fragment #} {# Expected context variables: #} {# source: { name, locator, available_at, coverage, url, #} {# calibration, is_missing } #} {# Usage: {% with source=item %}{% include '_source_card.html' %}{% endwith %} #} {{ source.name or 'Unknown Source' }} {% if source.url %} {% endif %} {% if source.locator %} {{ source.locator }} {% endif %} {% if source.available_at %} Available: {{ source.available_at }} {% endif %} {% if source.is_missing %} Data Missing {% endif %}