{{ template "widget-base.html" . }} {{ define "widget-content" }}
{{ .Weather.WeatherCodeAsString }}
Feels like {{ .Weather.ApparentTemperature }}°{{ if eq .Units "metric" }}C{{ else }}F{{ end }}
{{ range $i, $column := .Weather.Columns }}
{{ if $column.HasPrecipitation }}
{{ end }} {{ if and (ge $i $.Weather.SunriseColumn) (le $i $.Weather.SunsetColumn ) }}
{{ end }}
{{ $column.Temperature | absInt }}
{{ index $.TimeLabels $i }}
{{ end }}
{{ if not .HideLocation }}
{{ .Place.Name }}, {{ .Place.Country }}
{{ end }} {{ end }}