Update index.md.jinja

Hide weather icon when it's None value
This commit is contained in:
Lucàs
2022-06-07 09:39:29 +02:00
committed by GitHub
parent 456d21e665
commit 7c356bcf16
+1 -1
View File
@@ -3,7 +3,7 @@
# Hello there ! {{ imageWithSize(data.info.hi_img) }}
I'm {{ data.info.name }}, a passionate developer from {{ imageWithSize(data.info.france_img) }} **{{ data.info.city }}, France**.
<br>Currently, the weather is: **{{ data.weather.temperature }}°C** :thermometer:, **{{ data.weather.description }}** {{ data.weather.icon }}
<br>Currently, the weather is: **{{ data.weather.temperature }}°C** :thermometer:, **{{ data.weather.description }}** {% if data.weather.icon == "None" %}{{ data.weather.icon }}{% endif %}
### I code with
{% for img in data.tools -%}