From 38313272fe021287e8dcd71c76edd69851bc0bee Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sun, 1 Mar 2026 11:44:28 +0000 Subject: [PATCH] Fix skipping first entry in modal Signed-off-by: Marcus Noble --- templates/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/index.html b/templates/index.html index 6f4d7a3..fd9ae46 100644 --- a/templates/index.html +++ b/templates/index.html @@ -124,7 +124,7 @@
[Close]
{{ range $i, $Book := (index .Books $cat) }} - {{ if eq $i 1 }} + {{ if eq $i 0 }} {{ continue }} {{ end }}
@@ -156,7 +156,7 @@
[Close]
{{ range $i, $Book := (index .Books $cat) }} - {{ if eq $i 1 }} + {{ if eq $i 0 }} {{ continue }} {{ end }}
@@ -188,7 +188,7 @@
{{ range $i, $Book := (index .Books $cat) }} - {{ if eq $i 1 }} + {{ if eq $i 0 }} {{ continue }} {{ end }}
@@ -223,7 +223,7 @@
{{ range $i, $Book := $Books }} - {{ if eq $i 1 }} + {{ if eq $i 0 }} {{ continue }} {{ end }}