{{- .Params.Sports -}}
{{- .Params.Locations -}}
{{ partial "formatted-date.html" . }}
{{ if isset .Params "distance_km" }}
Fakten
-
{{ with .Params.distance_km}}
- Distanz : {{ partial "func/NumberFormatter.html" ( dict "number" . "precision" 1 )}} KM {{ end }} {{ with .Params.average_speed_kmh }}
- Schnitt : {{ partial "func/NumberFormatter.html" ( dict "number" . "precision" 1 ) }} km/h {{ end }} {{ with .Params.ascent_m }}
- Aufstieg: {{ partial "func/NumberFormatter.html" ( dict "number" . "precision" 0) }} HM {{ end }} {{ with .Params.avarage_speed }}
- Schnitt : {{ printf "%.f" . }} km/h {{ end }} {{ with .Params.temperature_c }}
- Temperatur: {{ partial "func/NumberFormatter.html" ( dict "number" . "precision" 1 ) }} °C {{ end }}
Teilnehmer
{{ $max := add -1 (len .Params.members) }}
{{ range $index, $member := .Params.members }}
{{ $member }}{{if lt $index $max }}, {{ end }}
{{ end}}
{{ end }}
Story
{{ .Content }}
Bilder des Tages
{{ $page := .}} {{ with .Resources.Match "images/*" }} {{ range . }} {{ $gallary_img := .Resize "600x" }} {{ end }} {{ end }}{{ partial "social-activity.html" . }}