Fix with of images in news (single images)
This commit is contained in:
parent
2af99042cd
commit
60c76c5e78
@ -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" }}
|
||||
|
Loading…
Reference in New Issue
Block a user