From 7c356bcf16916f6df669e56e6f930cf37890c0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=A0s?= <86352901+LucasVbr@users.noreply.github.com> Date: Tue, 7 Jun 2022 09:39:29 +0200 Subject: [PATCH] Update index.md.jinja Hide weather icon when it's None value --- templates/index.md.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.md.jinja b/templates/index.md.jinja index ded8976..7dae1f1 100644 --- a/templates/index.md.jinja +++ b/templates/index.md.jinja @@ -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**. -
Currently, the weather is: **{{ data.weather.temperature }}°C** :thermometer:, **{{ data.weather.description }}** {{ data.weather.icon }} +
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 -%}