summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/weather.tmpl2
1 files changed, 2 insertions, 0 deletions
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>{{ $p }}</p>
{{ end }}
</div>
+ {{ if len .Instruction | gt 0 }}
<div class="instruction">
{{ range $p := .Instruction }}
<p>{{ $p }}</p>
{{ end }}
</div>
+ {{ end }}
</div>
</div>
{{ end }}