diff options
| author | siddharth ravikumar <s@ricketyspace.net> | 2026-01-19 14:18:18 -0500 |
|---|---|---|
| committer | siddharth ravikumar <s@ricketyspace.net> | 2026-01-19 14:18:18 -0500 |
| commit | cf80fe871fdba6c19193c0aa3aa89eec57e07b0b (patch) | |
| tree | 79b7fa057083fe2ff22a9e886f9e0741ae5dabcb /templates | |
| parent | 119189216ee8f0d46c3d8df9eb132ef0c89b3e23 (diff) | |
templates/weather.tmpl: fix alert Instruction rendering
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/weather.tmpl | 2 |
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> |
