Skip to content

Add next/prev pager to post layout#1222

Merged
maiertech merged 4 commits intomainfrom
copilot/add-next-prev-pager-to-post-layout
Mar 30, 2026
Merged

Add next/prev pager to post layout#1222
maiertech merged 4 commits intomainfrom
copilot/add-next-prev-pager-to-post-layout

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 30, 2026

Post pages lacked the next/prev pager navigation that notes already had.

Changes

  • +layout.server.ts: Switch from find to findIndex to compute adjacent prev/next posts, returned alongside existing layout data.
  • +layout.svelte: Import Pager and render it after the ◆ ◆ ◆ separator, mirroring the notes layout pattern.

Copilot AI linked an issue Mar 30, 2026 that may be closed by this pull request
@railway-app
Copy link
Copy Markdown

railway-app bot commented Mar 30, 2026

🚅 Deployed to the website-pr-1222 environment in maiertech

Service Status Web Updated (UTC)
website ✅ Success (View Logs) Web Mar 30, 2026 at 10:20 pm

@railway-app railway-app bot temporarily deployed to maiertech / website-pr-1222 March 30, 2026 21:29 Destroyed
Agent-Logs-Url: https://github.com/maiertech/website/sessions/50b68965-629a-435a-989a-972cf2b5d5d3

Co-authored-by: maiertech <1482402+maiertech@users.noreply.github.com>
@railway-app railway-app bot temporarily deployed to maiertech / website-pr-1222 March 30, 2026 21:33 Destroyed
Copilot AI changed the title [WIP] Add next/prev pager to post layout Add next/prev pager to post layout Mar 30, 2026
Copilot AI requested a review from maiertech March 30, 2026 21:34
@railway-app railway-app bot temporarily deployed to maiertech / website-pr-1222 March 30, 2026 21:52 Destroyed
@maiertech maiertech marked this pull request as ready for review March 30, 2026 21:52
@railway-app railway-app bot temporarily deployed to maiertech / website-pr-1222 March 30, 2026 22:18 Destroyed
@maiertech maiertech merged commit 5cdec8b into main Mar 30, 2026
2 checks passed
@maiertech maiertech deleted the copilot/add-next-prev-pager-to-post-layout branch March 30, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add next/prev pager to post layout

2 participants