Skip to content

Commit 20f26e9

Browse files
author
Sebastian Flick
committed
fix next and previous links
1 parent 8e740dd commit 20f26e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/einzelverssynopse/[thirties]/[verse]/+page.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
{#if !(parseInt(thirties) === 1 && parseInt(verse) === 1)}
115115
<a
116116
class="anchor"
117-
href="{base}einzelverssynopse/{parseInt(verse) === 1
117+
href="{base}/einzelverssynopse/{parseInt(verse) === 1
118118
? parseInt(thirties) - 1
119119
: thirties}/{parseInt(verse) === 1 ? 30 : parseInt(verse) - 1}"
120120
>
@@ -124,7 +124,7 @@
124124
{#if !(parseInt(thirties) === 827 && parseInt(verse) === 30)}
125125
<a
126126
class="anchor"
127-
href="{base}einzelverssynopse/{parseInt(verse) === 30
127+
href="{base}/einzelverssynopse/{parseInt(verse) === 30
128128
? parseInt(thirties) + 1
129129
: thirties}/{parseInt(verse) === 30 ? 1 : parseInt(verse) + 1}"
130130
>

0 commit comments

Comments
 (0)