Compare commits

..

2 Commits

Author SHA1 Message Date
stereobooster 2b0b7b6566
Merge 9b64aa8c30 into f31082dec8 2023-09-13 07:06:26 +00:00
stereobooster 9b64aa8c30 Extracted picture partial 2023-09-13 09:06:12 +02:00
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
/> />
{{ end }} {{ end }}
<img <img
class="mx-auto my-0 rounded-md" class="{{ $class }}"
{{ 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="mx-auto my-0 rounded-md" class="{{ $class }}"
src="{{ $url.String }}" src="{{ $url.String }}"
alt="{{ $altText }}" alt="{{ $altText }}"
{{ if $lazyLoad }} {{ if $lazyLoad }}