From 482e83903cbf4db0453e6633f7810a0801229d34 Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Tue, 16 Jun 2026 20:39:24 -0500 Subject: [PATCH] Update the hourly report template to remove newlines between hourly forecast report items --- internal/reporttemplate/templates/hourly.md.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/reporttemplate/templates/hourly.md.tmpl b/internal/reporttemplate/templates/hourly.md.tmpl index f820937..a083edc 100644 --- a/internal/reporttemplate/templates/hourly.md.tmpl +++ b/internal/reporttemplate/templates/hourly.md.tmpl @@ -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.