Tonen namen indien er geen foto is opgegeven
This commit is contained in:
parent
6fe266e629
commit
59c0139a72
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@
|
||||||
{{ $image := replace .thumbnail "200x200" "150x150" }}
|
{{ $image := replace .thumbnail "200x200" "150x150" }}
|
||||||
{{ $alttext := printf "Foto van %s" .name }}
|
{{ $alttext := printf "Foto van %s" .name }}
|
||||||
{{ partial "show-image.html" (dict "context" . "image" $image "alt" $alttext "figcaption" .name "link" .profile_page) }}
|
{{ partial "show-image.html" (dict "context" . "image" $image "alt" $alttext "figcaption" .name "link" .profile_page) }}
|
||||||
|
{{ else }}
|
||||||
|
<span>{{ .name }}</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue