layouts/shortcodes/picture.html
@@ -3,7 +3,7 @@ {{- $alt := .Get 2 }} {{- $normalPath := absURL (printf "images/%s" $normal) }} {{- $darkPath := absURL (printf "images/%s" $dark) }} <picture class = 'nav_logo'> <source srcset = '{{ $darkPath }}' media="(prefers-color-scheme: dark)"> <img srcset = '{{ $normalPath }}' alt = '{{ $alt }}'> <picture class="nav_logo"> <source srcset="{{ $darkPath }}" media="(prefers-color-scheme: dark)"> <img srcset="{{ $normalPath }}" alt="{{ $alt }}"> </picture>