Reeks aan verbeteringen om actieve leden en teamleden te tonen
This commit is contained in:
parent
3f36e036d0
commit
a0599f1143
18 changed files with 137 additions and 10 deletions
23
themes/nluug/layouts/partials/show-active-members-small.html
Normal file
23
themes/nluug/layouts/partials/show-active-members-small.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
{{ $size_in_pixels := 150 }}
|
||||
|
||||
<div class="grid-team-members-small-photos">
|
||||
{{ range $key,$val := .Scratch.Get "active_members" }}
|
||||
{{ with (index $.Site.Data.personen .) }}
|
||||
<div>
|
||||
{{ if .thumbnail }}
|
||||
<figure>
|
||||
{{ if .profile_page }}
|
||||
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}" /></a>
|
||||
{{ else }}
|
||||
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}" />
|
||||
{{ end }}
|
||||
<figcaption>
|
||||
<small><strong>{{ .name }}</strong></small>
|
||||
</figcaption>
|
||||
</figure>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue