From ba69adcfa787b5aa4946fecff69460f26920451c Mon Sep 17 00:00:00 2001
From: siddharth ravikumar
Date: Tue, 21 Jun 2022 19:39:47 -0400
Subject: templates/weather.tmpl: update alerts section
Don't render instruction block if `{{ .Instruction }}` is empty.
---
templates/weather.tmpl | 2 ++
1 file changed, 2 insertions(+)
(limited to 'templates/weather.tmpl')
diff --git a/templates/weather.tmpl b/templates/weather.tmpl
index 8b27bcf..e8eb99f 100644
--- a/templates/weather.tmpl
+++ b/templates/weather.tmpl
@@ -75,11 +75,13 @@
{{ $p }}
{{ end }} + {{ if len .Instruction | gt 0 }}{{ $p }}
{{ end }}