- {{ with $.Site.GetPage $personfile }}
- {{ if .Param "image" }}
- {{ $imagename := .Param "image" }}
- {{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }}
- {{ $imageresource := resources.Get $imagelocation }}
- {{ $image := $imageresource.Fit "390x390 webp" }}
-
- {{ else }}
- {{ .Title }}
- {{ end }}
- {{ end }}
-
-
-
+
+
+ {{ .Title }}, {{ .Param "position" }}
+ {{ $start := time (.Param "start") }} + {{ $end := time (.Param "end") }} + {{ if and (le now $end) (ge now $start) }} + {{ $personfilename := .File.BaseFileName }} + {{ $personfile := printf "%s/%s" "persons" $personfilename }} +
{{ with $.Site.GetPage $personfile }}
- {{ $memberfile := printf "%s/%s" "members" (.Param "member") }}
- {{ with $.Site.GetPage $memberfile }}
-
- {{ .Title }}
+ {{ if .Param "image" }} + {{ $imagename := .Param "image" }} + {{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }} + {{ $imageresource := resources.Get $imagelocation }} + {{ $image := $imageresource.Fit "390x390 webp" }} + + {{ else }} + {{ .Title }} {{ end }} -{{ .Content }}
{{ end }} -
+
+ {{ .Title }}, {{ .Param "position" }}
+ {{ with $.Site.GetPage $personfile }} + {{ $memberfile := printf "%s/%s" "members" (.Param "member") }} + {{ with $.Site.GetPage $memberfile }} +{{ .Title }}
+ {{ end }} +{{ .Content }}
+ {{ end }} +