summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/homepage/nav.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/homepage/nav.html b/layouts/partials/homepage/nav.html
index 7a4a4bc..d3ff7f4 100644
--- a/layouts/partials/homepage/nav.html
+++ b/layouts/partials/homepage/nav.html
@@ -104,7 +104,7 @@
{{- $img2x := $img.Resize "300x webp" }}
const lookFront = () => {
meNormal.src="{{ $img1x.Permalink }}";
- meNormal.srcset="{{ $img1x.Permalink }} {{ $img2x.Permalink }}";
+ meNormal.srcset="{{ $img1x.Permalink }}, {{ $img2x.Permalink }}";
setTimeout(lookLeft, 5000);
}
{{- $file := "me-right.png" }}
@@ -114,7 +114,7 @@
{{- $img2x := $img.Resize "300x webp" }}
const lookRight = () => {
meNormal.src="{{ $img1x.Permalink }}";
- meNormal.srcset="{{ $img1x.Permalink }} {{ $img2x.Permalink }}";
+ meNormal.srcset="{{ $img1x.Permalink }}, {{ $img2x.Permalink }}";
setTimeout(lookFront, 500);
}
@@ -125,7 +125,7 @@
{{- $img2x := $img.Resize "300x webp" }}
const lookLeft = () => {
meNormal.src="{{ $img1x.Permalink }}";
- meNormal.srcset="{{ $img1x.Permalink }} {{ $img2x.Permalink }}";
+ meNormal.srcset="{{ $img1x.Permalink }}, {{ $img2x.Permalink }}";
setTimeout(lookRight, 500);
}