summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2026-01-19 14:18:18 -0500
committersiddharth ravikumar <s@ricketyspace.net>2026-01-19 14:18:18 -0500
commitcf80fe871fdba6c19193c0aa3aa89eec57e07b0b (patch)
tree79b7fa057083fe2ff22a9e886f9e0741ae5dabcb
parent119189216ee8f0d46c3d8df9eb132ef0c89b3e23 (diff)
templates/weather.tmpl: fix alert Instruction rendering
-rw-r--r--templates/weather.tmpl2
-rw-r--r--version/version.go2
2 files changed, 2 insertions, 2 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>
diff --git a/version/version.go b/version/version.go
index 892a7e6..d9007c0 100644
--- a/version/version.go
+++ b/version/version.go
@@ -4,4 +4,4 @@
// Peach version.
package version
-const Version = "0.11.1-dev.2"
+const Version = "0.11.1-dev.3"