templates/Includes/Partials/weather-item.html.twig line 1

Open in your IDE?
  1. <div class="weather-item text-center">
  2.     <div class="weather-item__title font-decorative text-uppercase mb-0">{{ title }}</div>
  3.     <div>{{ date | raw }}</div>
  4.     <img class="img-fluid mt-3 js-lazy-img weather-item__img" data-src="/static/debug/img/weather/{{ getWeatherIcon(icon) }}.svg" alt="{{ ('weather.icon.' ~ icon)|trans }}">
  5.     <div class="font-default-bold mt-2 mt-md-4">
  6.         <span class="weather-item__val">{{ min }}°C</span>
  7.         {% if max|default(false) %}
  8.             <span class="weather-item__val">{{ max }}°C</span>
  9.         {% endif %}
  10.     </div>
  11. </div>