Skip to content

Commit

Permalink
fix next and previous links
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Flick committed Mar 7, 2024
1 parent 8e740dd commit 20f26e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/einzelverssynopse/[thirties]/[verse]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
{#if !(parseInt(thirties) === 1 && parseInt(verse) === 1)}
<a
class="anchor"
href="{base}einzelverssynopse/{parseInt(verse) === 1
href="{base}/einzelverssynopse/{parseInt(verse) === 1
? parseInt(thirties) - 1
: thirties}/{parseInt(verse) === 1 ? 30 : parseInt(verse) - 1}"
>
Expand All @@ -124,7 +124,7 @@
{#if !(parseInt(thirties) === 827 && parseInt(verse) === 30)}
<a
class="anchor"
href="{base}einzelverssynopse/{parseInt(verse) === 30
href="{base}/einzelverssynopse/{parseInt(verse) === 30
? parseInt(thirties) + 1
: thirties}/{parseInt(verse) === 30 ? 1 : parseInt(verse) + 1}"
>
Expand Down

0 comments on commit 20f26e9

Please sign in to comment.