Fix with of images in news (single images)

This commit is contained in:
Christian Wolf 2024-01-07 10:54:37 +01:00
parent 2af99042cd
commit 60c76c5e78

View File

@ -8,7 +8,7 @@
{{ $resource := .Page.Resources.Get $filename -}}
src="{{ $resource.RelPermalink }}"
style="
{{- with .Get "width" -}}max-width: {{.}}px;{{- end -}}
{{- with .Get "width" -}}width: {{.}}px;{{- end -}}
"
>
{{ with .Get "href" }}