use get-image partial

This commit is contained in:
Ben Goldsworthy 2025-06-04 17:57:21 +02:00
parent ed9e769b2d
commit edba5d203e
No known key found for this signature in database
8 changed files with 94 additions and 47 deletions

View file

@ -40,7 +40,7 @@
{{- end -}}
{{- if eq $src.ResourceType "image" -}}
{{- partial "media/picture.html" $src -}}
{{- partial "media/picture.html" ( dict "src" $src ) -}}
{{- else if eq $src.ResourceType "audio" -}}
{{- partial "media/audio.html" $src -}}