{{ partial "header.html" . }} {{ partial "navbar.html" . }}

{{ .Title }}

{{ range .Data.Pages.ByWeight }}
{{ $personfile := .File.BaseFileName }} {{ range where .Site.Pages "Section" "persons" }} {{ $person := .File.BaseFileName }} {{ if eq $personfile $person }} {{ if .Param "image" }} {{ $imagename := .Param "image" }} {{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }} {{ $imageresource := resources.Get $imagelocation }} {{ $image := $imageresource.Fit "390x390" }} {{ .Title }} {{ else }} {{ .Title }} {{ end }} {{ end }} {{ end }}

{{ .Title }}, {{ .Param "position" }}

{{ $personfile := .File.BaseFileName }} {{ $persontitle := .Title }} {{ range where .Site.RegularPages "Section" "persons" }} {{ $person := .File.BaseFileName }} {{ $company_member := .Param "member" }} {{ $company_member := upper $company_member }} {{ if eq $personfile $person }}

{{ if eq $persontitle "Hugh Blemings" }} Individual {{ else if eq $persontitle "James Kulina"}} OpenPOWER Foundation {{ else }} {{ range where .Site.Pages "Section" "members" }} {{ $company_title := upper .Title }} {{if eq $company_member $company_title}} {{ $company_member }} {{ end }} {{ end }} {{ end }}

{{ .Content }}

{{ end }} {{ end }} {{ end }}
{{ partial "footer.html" . }}