|
|
@ -67,48 +67,51 @@
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
{{ range where .Site.RegularPages "Section" "groups" }}
|
|
|
|
{{ range where .Site.RegularPages "Section" "groups" }}
|
|
|
|
{{ $wgname := .Title }}
|
|
|
|
{{ $wgname := .Title }}
|
|
|
|
{{ $chairfile := printf "%s/%s" "persons" (.Param "chair") }}
|
|
|
|
{{ $chairs := .Param "chair" }}
|
|
|
|
{{ with $.Site.GetPage $chairfile }}
|
|
|
|
{{ range $chairs }}
|
|
|
|
<div class="col-lg-4" id="person">
|
|
|
|
{{ $chairfile := printf "%s/%s" "persons" . }}
|
|
|
|
<div id="person-header">
|
|
|
|
{{ with $.Site.GetPage $chairfile }}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-4" id="person">
|
|
|
|
<div class="col-lg-8"><h1>{{ .Title }}</h1> ({{ $wgname }})</div>
|
|
|
|
<div id="person-header">
|
|
|
|
<div class="col-lg-4" id="member">
|
|
|
|
<div class="row">
|
|
|
|
{{ $member := .Param "member" }}
|
|
|
|
<div class="col-lg-8"><h1>{{ .Title }}</h1> ({{ $wgname }})</div>
|
|
|
|
{{ range where .Site.RegularPages "Section" "members" }}
|
|
|
|
<div class="col-lg-4" id="member">
|
|
|
|
{{ $membercompany := .File.BaseFileName }}
|
|
|
|
{{ $member := .Param "member" }}
|
|
|
|
{{ if eq $member $membercompany }}
|
|
|
|
{{ range where .Site.RegularPages "Section" "members" }}
|
|
|
|
<a href="{{ .Permalink }}">
|
|
|
|
{{ $membercompany := .File.BaseFileName }}
|
|
|
|
{{ if .Param "image" }}
|
|
|
|
{{ if eq $member $membercompany }}
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
<a href="{{ .Permalink }}">
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
|
|
|
|
{{ if .Param "image" }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $image := $imageresource.Fit "100x100" }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ else }}
|
|
|
|
{{ $image := $imageresource.Fit "100x100" }}
|
|
|
|
{{ .Title }}
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
|
|
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
{{ .Title }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</a>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<div class="col-lg-4">
|
|
|
|
{{ 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 "100x400" }}
|
|
|
|
{{ $image := $imageresource.Fit "200x400" }}
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}">
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}">
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-lg-8">{{ .Content }}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-8">{{ .Content }}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|