forked from laurens/fediversity_website
Fix: opschonen en oplossen issues w3c-validator
This commit is contained in:
parent
f5a830d4ff
commit
8bdb961de4
|
@ -1,4 +1,3 @@
|
|||
|
||||
{{ $size_in_pixels := 150 }}
|
||||
|
||||
<div class="grid-team-members-small-photos">
|
||||
|
@ -8,9 +7,9 @@
|
|||
{{ 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>
|
||||
<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 }}" />
|
||||
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}">
|
||||
{{ end }}
|
||||
<figcaption>
|
||||
<small><strong>{{ .name }}</strong></small>
|
||||
|
@ -20,4 +19,4 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
{{ $size_in_pixels := 150 }}
|
||||
|
||||
<div class="grid-team-members-small-photos">
|
||||
|
@ -8,9 +7,9 @@
|
|||
{{ 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>
|
||||
<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 }}" />
|
||||
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" height="{{ $size_in_pixels }}" width="{{ $size_in_pixels }}">
|
||||
{{ end }}
|
||||
<figcaption>
|
||||
<small><strong>{{ .name }}</strong></small>
|
||||
|
@ -20,4 +19,4 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
{{ if .thumbnail }}
|
||||
<figure>
|
||||
{{ 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 }}
|
||||
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}" />
|
||||
<img src="{{ .thumbnail }}" alt="Foto van {{ .name }}">
|
||||
{{ end }}
|
||||
<figcaption>
|
||||
<strong>{{ .name }}</strong>
|
||||
|
|
Reference in a new issue