{{define "journeys_public_transit"}} {{$first := true}} {{range .ViewState.journeys.Journeys}} {{if $first}} {{$first = false}}
{{else}}
{{end}}
{{(timeFrom .Departure).Format "15:04"}} - {{(timeFrom .Arrival).Format "15:04"}}
{{.Duration.Minutes | printf "%.0f"}} Minutes
{{end}} {{end}}