Update the hourly report template to remove newlines between hourly forecast report items
This commit is contained in:
@@ -18,7 +18,7 @@ Current conditions are unavailable.
|
||||
{{ end }}
|
||||
{{ end }}{{ end }}
|
||||
## Hourly Forecast
|
||||
{{ with .Modules.HourlyForecast }}{{ range .Periods }}
|
||||
{{ with .Modules.HourlyForecast }}{{ range .Periods -}}
|
||||
- **{{ if .HourLabel }}{{ .HourLabel }}{{ else }}{{ .Name }}{{ end }}:**{{ with .TemperatureF }} {{ . }}°F{{ end }}{{ with .TextDescriptionLower }} and {{ . }}{{ else }}{{ with .TextDescription }} and {{ . }}{{ end }}{{ end }}.{{ if .MentionPrecipitation }}{{ with .ProbabilityOfPrecipitationPercent }} Probability of precipitation is {{ . }}%.{{ end }}{{ end }}
|
||||
{{ else }}- No hourly forecast rows are available.
|
||||
{{ end }}{{ else }}- No hourly forecast rows are available.
|
||||
|
||||
Reference in New Issue
Block a user