From 89a1fd5dee1d5620b0458276ad44aea714e6939a Mon Sep 17 00:00:00 2001
From: weru <onewesh@gmail.com>
Date: Tue, 06 Oct 2020 11:07:22 +0000
Subject: [PATCH] update
---
layouts/shortcodes/picture.html | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/layouts/shortcodes/picture.html b/layouts/shortcodes/picture.html
index 0949bb8..6edce63 100644
--- a/layouts/shortcodes/picture.html
+++ b/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>
--
Gitblit v1.10.0