Compare commits

..

2 Commits

Author SHA1 Message Date
stereobooster 7382bcc5c0
Merge 7d562c7b6d into f31082dec8 2023-09-12 20:21:52 +00:00
stereobooster 7d562c7b6d Extracted picture partial 2023-09-12 22:21:35 +02:00
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
/> />
{{ end }} {{ end }}
<img <img
class="{{ $class }}" class="mx-auto my-0 rounded-md"
{{ if eq .MediaType.SubType "svg" }} {{ if eq .MediaType.SubType "svg" }}
src="{{ .RelPermalink }}" src="{{ .RelPermalink }}"
{{ else }} {{ else }}
@ -67,7 +67,7 @@
</picture> </picture>
{{ else }} {{ else }}
<img <img
class="{{ $class }}" class="mx-auto my-0 rounded-md"
src="{{ $url.String }}" src="{{ $url.String }}"
alt="{{ $altText }}" alt="{{ $altText }}"
{{ if $lazyLoad }} {{ if $lazyLoad }}