This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website/themes/nluug/layouts/partials/show-image-of-person.html

10 lines
376 B
HTML
Raw Normal View History

{{ if .profile_details }}
<div>
{{ if .profile_details.thumbnail }}
{{ $image := replace .profile_details.thumbnail "200x200" "150x150" }}
{{ $alttext := printf "Foto van %s" .profile_details.name }}
{{ partial "show-image.html" (dict "context" . "image" $image "alt" $alttext) }}
{{ end }}
</div>
{{ end }}