{% extends "base.html" %}
{% block title %}{{ display_name.split(',')[0] }} – Skywatcher{% endblock %}
{% block head %}
{% endblock %}
{% block content %}
{# ── Wetterklasse für den Hero-Gradient ─────────────────────────── #}
{% if current.icon == "🌧️" %}{% set wclass = "w-rain" %}
{% elif current.icon == "❄️" %}{% set wclass = "w-snow" %}
{% elif current.icon == "☁️" %}{% set wclass = "w-cloudy" %}
{% elif current.icon == "⛅" %}{% set wclass = "w-partcloud" %}
{% else %}{% set wclass = "w-clear" %}{% endif %}
{% if w.onset_dt %}{{ w.onset_dt.strftime('%d.%m. %H:%M') }}{% endif %} {% if w.expires_dt %} – {{ w.expires_dt.strftime('%d.%m. %H:%M') }}{% endif %}
{% endif %} {% if w.description %} {% set short_desc = w.description.split('. ')[0] %}{{ short_desc }}{% if short_desc|length < w.description|length %}.{% endif %}
{% if short_desc|length < w.description|length %}{{ w.description }}
Wetterdaten: Deutscher Wetterdienst – Open Data (MOSMIX)
{% endblock %} {% block scripts %} {% endblock %}