{% extends 'default.html.twig' %} {% block content %} {% set weather_icons = { 'Sunny': '☀️', 'Partly cloudy': '⛅', 'Cloudy': '☁️', 'Foggy': '🌫️', 'Drizzle': '🌦️', 'Rain': '🌧️', 'Snow': '❄️', 'Thunderstorm': '⛈️' } %} {% set hero = null %} {% if page.header.hero_image and page.media[page.header.hero_image] is defined %} {% set hero = page.media[page.header.hero_image] %} {% elseif page.media.images|length > 0 %} {% set hero = page.media.images|first %} {% endif %} ← Back
{% if hero %}
{{ page.title }}
{% endif %}
{% if page.header.location_city or page.header.location_country %}

{%- set _loc = [] -%} {%- if page.header.location_city -%}{%- set _loc = _loc|merge([page.header.location_city]) -%}{%- endif -%} {%- if page.header.location_country -%}{%- set _loc = _loc|merge([page.header.location_country]) -%}{%- endif -%} 📍 {{ _loc|join(', ') }}

{% endif %} {% if page.header.weather_desc or page.header.weather_temp_c %}

{% if page.header.weather_desc %} {{ weather_icons[page.header.weather_desc] ?? '🌡️' }} {{ page.header.weather_desc }} {% endif %} {% if page.header.weather_temp_c %} · {{ page.header.weather_temp_c|round }}°C {% endif %}

{% endif %}

{{ page.title }}

{{ page.content|raw }}
{% set images = page.media.images %} {% if images|length > 0 %}
{% for image in images %} {% endfor %}
{% endif %}
{% endblock %}