diff --git a/themes/intotheeast/templates/partials/entry-journal.html.twig b/themes/intotheeast/templates/partials/entry-journal.html.twig index 3c4dc78..17de19e 100644 --- a/themes/intotheeast/templates/partials/entry-journal.html.twig +++ b/themes/intotheeast/templates/partials/entry-journal.html.twig @@ -1,7 +1,12 @@ {% set weather_icons = { - 'Sunny': '☀️', 'Partly cloudy': '⛅', 'Cloudy': '☁️', - 'Foggy': '🌫️', 'Drizzle': '🌦️', 'Rain': '🌧️', - 'Snow': '❄️', 'Thunderstorm': '⛈️' + 'Sunny': '', + 'Partly cloudy': '', + 'Cloudy': '', + 'Foggy': '', + 'Drizzle': '', + 'Rain': '', + 'Snow': '', + 'Thunderstorm': '' } %}
@@ -12,7 +17,7 @@ {% if entry.header.location_city or entry.header.location_country %} - · 📍 + · {%- set _loc = [] -%} {%- if entry.header.location_city -%}{%- set _loc = _loc|merge([entry.header.location_city]) -%}{%- endif -%} {%- if entry.header.location_country -%}{%- set _loc = _loc|merge([entry.header.location_country]) -%}{%- endif -%} @@ -20,7 +25,7 @@ {% endif %} {% if entry.header.weather_desc %} - · {{ weather_icons[entry.header.weather_desc] ?? '' }} {{ entry.header.weather_desc }} + · {{ weather_icons[entry.header.weather_desc]|default('')|raw }} {{ entry.header.weather_desc }} {% endif %}