forked from laurens/fediversity_website
Fix: opschonen en oplossen issues w3c-validator
This commit is contained in:
parent
f5a830d4ff
commit
8bdb961de4
|
@ -1,23 +1,22 @@
|
||||||
|
|
||||||
{{ $size_in_pixels := 150 }}
|
{{ $size_in_pixels := 150 }}
|
||||||
|
|
||||||
<div class="grid-team-members-small-photos">
|
<div class="grid-team-members-small-photos">
|
||||||
{{ range $key,$val := .Scratch.Get "active_members" }}
|
{{ range $key,$val := .Scratch.Get "active_members" }}
|
||||||
{{ with (index $.Site.Data.personen .) }}
|
{{ with (index $.Site.Data.personen .) }}
|
||||||
<div>
|
<div>
|
||||||
{{ if .thumbnail }}
|
{{ if .thumbnail }}
|
||||||
<figure>
|
<figure>
|
||||||
{{ if .profile_page }}
|
{{ if .profile_page }}
|
||||||
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}" /></a>
|
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}"></a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}" />
|
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<figcaption>
|
<figcaption>
|
||||||
<small><strong>{{ .name }}</strong></small>
|
<small><strong>{{ .name }}</strong></small>
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
|
@ -1,23 +1,22 @@
|
||||||
|
|
||||||
{{ $size_in_pixels := 150 }}
|
{{ $size_in_pixels := 150 }}
|
||||||
|
|
||||||
<div class="grid-team-members-small-photos">
|
<div class="grid-team-members-small-photos">
|
||||||
{{ range $key,$val := .Scratch.Get "related_members" }}
|
{{ range $key,$val := .Scratch.Get "related_members" }}
|
||||||
{{ with (index $.Site.Data.personen .) }}
|
{{ with (index $.Site.Data.personen .) }}
|
||||||
<div>
|
<div>
|
||||||
{{ if .thumbnail }}
|
{{ if .thumbnail }}
|
||||||
<figure>
|
<figure>
|
||||||
{{ if .profile_page }}
|
{{ if .profile_page }}
|
||||||
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}" /></a>
|
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}"></a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}" />
|
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<figcaption>
|
<figcaption>
|
||||||
<small><strong>{{ .name }}</strong></small>
|
<small><strong>{{ .name }}</strong></small>
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
|
@ -16,9 +16,9 @@
|
||||||
{{ if .thumbnail }}
|
{{ if .thumbnail }}
|
||||||
<figure>
|
<figure>
|
||||||
{{ if .profile_page }}
|
{{ if .profile_page }}
|
||||||
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" /></a>
|
<a href="{{ .profile_page }}"><img src="{{ .thumbnail }}" alt="Foto van {{ .name }}"></a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" />
|
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<figcaption>
|
<figcaption>
|
||||||
<strong>{{ .name }}</strong>
|
<strong>{{ .name }}</strong>
|
||||||
|
|
Reference in a new issue