{% if loaded %} {# Which day: today, tomorrow or another day of the week ahead. #}
{{ label }}
{% endif %} {% if not connected %}

Connect Google to see today's schedule. Integrations

{% elif not loaded %}

The calendar could not be loaded. Check the connection

{% elif not day.today %}

Nothing on the calendar {{ "today" if offset == 0 else ("tomorrow" if offset == 1 else "this day") }}.

{% else %}
{% for event in day.today %} {% if event.kind == "now" %}
{{ event.time | localtime("%H:%M") }}
{% else %} {# All-day events come first; the label is shown only on the first of them. #} {% if not event.all_day %}{{ event.start | localtime("%H:%M") }}{% elif loop.first %}All day{% endif %} {{ event.title }}{% if event.sub %}{{ event.sub }}{% endif %} {% endif %} {% endfor %}
{% endif %}