summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-05-07 17:41:45 +0200
committermms <michal@sapka.me>2024-05-07 17:41:45 +0200
commitad42d8473bd2d5cbce2a4d87b2cafd86ccdf3950 (patch)
tree7d3d6b034bf593bf5fa5062d7bef7298df655577 /layouts/partials
parent8e68edef638f205021d7485891df13ae5d43b9b1 (diff)
fix: nav
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);
}