Fix w3 validation errors

This commit is contained in:
2025-01-03 22:04:15 +01:00
parent 201ba2ef75
commit 6242a1f876
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -5,5 +5,5 @@
<source type="image/webp" srcset="{{ $webp.Permalink }}">
<img src="{{ $png.Permalink }}" alt="{{ .alt | default "" }}" title="{{ .alt }}"
width="{{ .width | default $png.Width }}" height="{{ .height | default $png.Height }}"
{{- if .class}}class="{{ .class }}" {{end}} {{- if .style}}style="{{ .style | safeCSS }}" {{end}} />
{{- if .class}} class="{{ .class }}"{{end}} {{- if .style}} style="{{ .style | safeCSS }}"{{end}} />
</picture>