summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/weather.tmpl21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/weather.tmpl b/templates/weather.tmpl
index 60257fa..d23bc99 100644
--- a/templates/weather.tmpl
+++ b/templates/weather.tmpl
@@ -61,6 +61,27 @@
</div>
{{ end }}
+
+ {{ if .BiDailyTimeline }}
+ <div class="bd-timeline-container">
+ <div class="periods-container">
+ {{ range .BiDailyTimeline.Periods }}
+ <div class="period">
+ <div class="name">
+ {{ .Name }}
+ </div>
+ <div class="temperature">
+ {{.Temperature}}{{.TemperatureUnit}}
+ </div>
+ <div class="forecast">
+ {{ .Forecast }}
+ </div>
+ </div>
+ {{ end }}
+ </div>
+ </div>
+ {{ end }}
+
<div class="search-link-container">
<a href="/search">