Skip to content

Return 404 for archive pages beyond the last page - #73

Merged
ManukMinasyan merged 2 commits into
2.xfrom
fix-archive-page-status
Nov 20, 2026
Merged

ManukMinasyan merged 2 commits into
2.xfrom
fix-archive-page-status

Conversation

@ManukMinasyan

Copy link
Copy Markdown
Member

Ink now returns HTTP 404 when a visitor requests a blog, category or tag page beyond the filtered last page. The response renders the configured archive view, including any recovery content supplied by the host.

Valid archive pages keep their View return type. An empty first page and a first-page search with no matches still return 200.

The full Ink suite passed locally with 234 tests and 653 assertions.

Copilot AI balanced review requested due to automatic review settings November 20, 2026 17:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@ManukMinasyan
ManukMinasyan merged commit 5e3cd04 into 2.x Nov 20, 2026
3 checks passed
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.

2 participants