Tweaked the image shortcode.

This commit is contained in:
wermos
2024-06-03 20:27:19 +05:30
parent c54b7daff2
commit 46737b193f
+1 -1
View File
@@ -16,7 +16,7 @@
{{ end }} {{ end }}
{{ with $resource }} {{ with $resource }}
<figure> <figure>
{{ if $disableImageOptimization }} {{ if or $disableImageOptimization (eq .MediaType.SubType "svg") }}
<img <img
class="my-0 rounded-md" class="my-0 rounded-md"
loading="lazy" loading="lazy"