refactoring

This commit is contained in:
stereobooster
2023-11-26 14:47:26 +01:00
parent 0c6c30fec1
commit c8b33ae51e
6 changed files with 8 additions and 16 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
<figure>
{{- with $img -}}
{{ partial "pictureDefaults.html" (dict "img" . "alt" $altText "class" $class "x2" $x2) }}
{{ partial "picture.html" (dict "img" . "alt" $altText "class" $class "x2" $x2) }}
{{- else -}}
<img src="{{ .Destination | safeURL }}" alt="{{ $altText }}" class="{{ $class }}"/>
{{- end -}}