You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
3.8 KiB
HTML
124 lines
3.8 KiB
HTML
{{ partial "header.html" . }}
|
|
|
|
{{ partial "navbar.html" . }}
|
|
|
|
<main id="main">
|
|
|
|
<section id="boardofdirectors">
|
|
<div class="container-fluid">
|
|
<div class="section-header">
|
|
<h1 class="section-title text-center">{{ .Title }}</h1>
|
|
<span class="section-divider"></span>
|
|
<p class="section-description">{{ .Content }}</p>
|
|
</div>
|
|
<div class="row">
|
|
{{ range .Data.Pages.ByWeight }}
|
|
<div class="col-lg-6 mx-auto" id="person">
|
|
<div id="person-header">
|
|
<div class="row">
|
|
<div class="col-lg-8">
|
|
<h2>{{ .Title }}</h2>
|
|
({{ .Param "position" }})
|
|
</div>
|
|
{{ $personfile := .File.BaseFileName }}
|
|
{{ range where .Site.RegularPages "Section" "persons" }}
|
|
{{ $person := .File.BaseFileName }}
|
|
{{ if eq $personfile $person }}
|
|
<div class="col-lg-4" id="member">
|
|
{{ $member := .Param "member" }}
|
|
{{ range where .Site.RegularPages "Section" "members" }}
|
|
{{ $membercompany := .File.BaseFileName }}
|
|
{{ if eq $member $membercompany }}
|
|
<a href="{{ .Permalink }}">
|
|
{{ if .Param "image" }}
|
|
{{ $imagename := .Param "image" }}
|
|
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
{{ $image := $imageresource.Fit "100x100" }}
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
{{ else }}
|
|
{{ .Title }}
|
|
{{ end }}
|
|
</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-4">
|
|
{{ if .Param "image" }}
|
|
{{ $imagename := .Param "image" }}
|
|
{{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }}
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
{{ $image := $imageresource.Fit "200x400" }}
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}">
|
|
{{ else }}
|
|
|
|
{{ end }}
|
|
</div>
|
|
<div class="col-lg-8">{{ .Content }}</div>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
<div class="row">
|
|
{{ range where .Site.RegularPages "Section" "groups" }}
|
|
{{ $wgname := .Title }}
|
|
{{ $chairs := .Param "chair" }}
|
|
{{ range $chairs }}
|
|
{{ $chairfile := printf "%s/%s" "persons" . }}
|
|
{{ with $.Site.GetPage $chairfile }}
|
|
<div class="col-lg-4" id="person">
|
|
<div id="person-header">
|
|
<div class="row">
|
|
<div class="col-lg-8"><h2>{{ .Title }}</h2> ({{ $wgname }})</div>
|
|
<div class="col-lg-4" id="member">
|
|
{{ $member := .Param "member" }}
|
|
{{ range where .Site.RegularPages "Section" "members" }}
|
|
{{ $membercompany := .File.BaseFileName }}
|
|
{{ if eq $member $membercompany }}
|
|
<a href="{{ .Permalink }}">
|
|
{{ if .Param "image" }}
|
|
{{ $imagename := .Param "image" }}
|
|
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
{{ $image := $imageresource.Fit "100x100" }}
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
{{ else }}
|
|
{{ .Title }}
|
|
{{ end }}
|
|
</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-4">
|
|
{{ if .Param "image" }}
|
|
{{ $imagename := .Param "image" }}
|
|
{{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }}
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
{{ $image := $imageresource.Fit "100x400" }}
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}">
|
|
{{ else }}
|
|
|
|
{{ end }}
|
|
</div>
|
|
<div class="col-lg-8">{{ .Content }}</div>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
</main>
|
|
|
|
{{ partial "footer.html" . }}
|