summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/weather.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/weather.tmpl b/templates/weather.tmpl
index ba5440c..2867d04 100644
--- a/templates/weather.tmpl
+++ b/templates/weather.tmpl
@@ -93,7 +93,7 @@
<p>{{ $p }}</p>
{{ end }}
</div>
- {{ if len .Instruction | gt 0 }}
+ {{ if .Instruction }}
<div class="instruction">
{{ range $p := .Instruction }}
<p>{{ $p }}</p>