|
|
@ -4,25 +4,25 @@
|
|
|
|
<main id="main" class="main boardofdirectors">
|
|
|
|
<main id="main" class="main boardofdirectors">
|
|
|
|
<div class="container">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<h1 class="section-header my-3 my-md-5 pb-2 pb-md-3 text-center">{{ .Title }}</h1>
|
|
|
|
<h1 class="section-header my-3 my-md-5 pb-2 pb-md-3 text-center">{{ .Title }}</h1>
|
|
|
|
{{ range .Data.Pages.ByWeight }}
|
|
|
|
{{ range .Data.Pages.ByWeight }}
|
|
|
|
<article class="post__article col-10 offset-1 row mb-4 pt-4">
|
|
|
|
<article class="post__article col-10 offset-1 row mb-4 pt-4">
|
|
|
|
<div class="col-md-2 mb-4 mb-md-0 pt-md-3 pl-4 pl-lg-0">
|
|
|
|
<div class="col-md-2 mb-4 mb-md-0 pt-md-3 pl-4 pl-lg-0">
|
|
|
|
{{ $personfile := .File.BaseFileName }}
|
|
|
|
{{ $personfile := .File.BaseFileName }}
|
|
|
|
{{ range where .Site.Pages "Section" "persons" }}
|
|
|
|
{{ range where .Site.Pages "Section" "persons" }}
|
|
|
|
{{ $person := .File.BaseFileName }}
|
|
|
|
{{ $person := .File.BaseFileName }}
|
|
|
|
{{ if eq $personfile $person }}
|
|
|
|
{{ if eq $personfile $person }}
|
|
|
|
{{ if .Param "image" }}
|
|
|
|
{{ if .Param "image" }}
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ $image := $imageresource.Fit "390x390" }}
|
|
|
|
{{ $image := $imageresource.Fit "390x390 webp" }}
|
|
|
|
<img class="img-fluid" src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
|
|
<img class="img-fluid" src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .Title }}
|
|
|
|
{{ .Title }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-10 pl-4 mb-4 mb-lg-6 person">
|
|
|
|
<div class="col-md-10 pl-4 mb-4 mb-lg-6 person">
|
|
|
|
<h2>{{ .Title }}, {{ .Param "position" }}</h2>
|
|
|
|
<h2>{{ .Title }}, {{ .Param "position" }}</h2>
|
|
|
@ -35,28 +35,25 @@
|
|
|
|
{{ if eq $personfile $person }}
|
|
|
|
{{ if eq $personfile $person }}
|
|
|
|
<h3>
|
|
|
|
<h3>
|
|
|
|
{{ if eq $persontitle "Hugh Blemings" }}
|
|
|
|
{{ if eq $persontitle "Hugh Blemings" }}
|
|
|
|
<a class="disabled" href="{{ .Param "link" }}">Individual</a>
|
|
|
|
<a class="disabled" href="{{ .Param "link" }}">Individual</a>
|
|
|
|
{{ else if eq $persontitle "James Kulina"}}
|
|
|
|
{{ else if eq $persontitle "James Kulina"}}
|
|
|
|
<a href="https://openpowerfoundation.org" target="_blank">OpenPOWER Foundation</a>
|
|
|
|
<a href="https://openpowerfoundation.org" target="_blank">OpenPOWER Foundation</a>
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
{{ range where .Site.Pages "Section" "members" }}
|
|
|
|
{{ range where .Site.Pages "Section" "members" }}
|
|
|
|
{{ $company_title := upper .Title }}
|
|
|
|
{{ $company_title := upper .Title }}
|
|
|
|
{{ if eq $company_member $company_title }}
|
|
|
|
|
|
|
|
<a href="{{ .Param "link" }}" target="_blank">{{ $company_member }}</a>
|
|
|
|
{{if eq $company_member $company_title}}
|
|
|
|
{{ end }}
|
|
|
|
<a href="{{ .Param "link" }}" target="_blank">{{ $company_member }}</a>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
</h3>
|
|
|
|
</h3>
|
|
|
|
<p>{{ .Content }}</p>
|
|
|
|
<p>{{ .Content }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</main>
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|