|
|
|
@ -67,7 +67,9 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
{{ range where .Site.RegularPages "Section" "groups" }}
|
|
|
|
|
{{ $wgname := .Title }}
|
|
|
|
|
{{ $chairfile := printf "%s/%s" "persons" (.Param "chair") }}
|
|
|
|
|
{{ $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">
|
|
|
|
@ -100,7 +102,7 @@
|
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }}
|
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
|
{{ $image := $imageresource.Fit "200x400" }}
|
|
|
|
|
{{ $image := $imageresource.Fit "100x400" }}
|
|
|
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}">
|
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
|
@ -111,6 +113,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
{{ end }}
|
|
|
|
|
{{ end }}
|
|
|
|
|
{{ end }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|