Remove excess newlines.

This commit is contained in:
2025-11-19 20:08:14 -07:00
parent 98db946a83
commit 0a9c7270fb

View File

@@ -2,7 +2,6 @@
}}{{ $url2 := .Get "img2" | default (.Get "fallback") | default (.Get 1) }}{{ $url2 := .Get "img2" | default (.Get "fallback") | default (.Get 1)
}}{{ $alt := .Get "alt" | default (.Get 2) }}{{ $alt := .Get "alt" | default (.Get 2)
}} }}
<!-- These do not seem to work. Using JS solution. <!-- These do not seem to work. Using JS solution.
<picture> <picture>
<source srcset="{{ $url1 }}"> <source srcset="{{ $url1 }}">
@@ -13,5 +12,4 @@
<img src="{{ $url2 }}" alt="{{ $alt }}"> <img src="{{ $url2 }}" alt="{{ $alt }}">
</picture> </picture>
--> -->
<img src="{{ $url1 }}" alt="{{ $alt }}" onerror="this.onerror=null; this.src='{{ $url2 }}';"> <img src="{{ $url1 }}" alt="{{ $alt }}" onerror="this.onerror=null; this.src='{{ $url2 }}';">