From 6751d139ff328fb9852b6df5e014c38389803206 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Sat, 13 Aug 2022 13:07:19 -0400 Subject: templates: update weather.tmpl Show humidity only if it has a non-zero value. --- templates/weather.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates') diff --git a/templates/weather.tmpl b/templates/weather.tmpl index 9ba41a0..8a7a6a2 100644 --- a/templates/weather.tmpl +++ b/templates/weather.tmpl @@ -36,6 +36,7 @@ + {{ if gt .Now.Humidity 0 }}
Humidity @@ -44,6 +45,7 @@ {{.Now.Humidity}}%
+ {{ end }} -- cgit v1.2.3