Add post 'SSH all the way down'

This commit is contained in:
Bad Manners 2024-09-22 15:38:25 -03:00
parent e49618ee8e
commit 55dd016560
No known key found for this signature in database
GPG key ID: 8C88292CCB075609
26 changed files with 418 additions and 43 deletions

View file

@ -70,7 +70,7 @@ const totalPages = Math.ceil(page.total / page.size);
) : (
<a
class="text-link border-r border-stone-400 px-2 py-1 underline dark:border-stone-500"
href={page.url.current.replace(`/stories/${page.currentPage}`, `/stories/${p}`)}
href={p === 1 ? "/stories/" : `/stories/${p}`}
>
{p}
</a>
@ -161,7 +161,7 @@ const totalPages = Math.ceil(page.total / page.size);
) : (
<a
class="text-link border-r border-stone-400 px-2 py-1 underline dark:border-stone-500"
href={page.url.current.replace(`/stories/${page.currentPage}`, `/stories/${p}`)}
href={p === 1 ? "/stories/" : `/stories/${p}`}
>
{p}
</a>