Skip to content

feat: optional sortKey for manual entry ordering#3

Merged
JohannesHoppe merged 1 commit into
mainfrom
feature/sort-key
May 17, 2026
Merged

feat: optional sortKey for manual entry ordering#3
JohannesHoppe merged 1 commit into
mainfrom
feature/sort-key

Conversation

@JohannesHoppe

Copy link
Copy Markdown
Member

Adds optional sortKey (number) to EntryMetaBase.

Entries with a sortKey come first, sorted ascending. Entries without a sortKey fall back to the existing order (sticky, published date, slug).

Tests cover the new ranking including the case that sortKey beats sticky.

@JohannesHoppe JohannesHoppe merged commit 0bb1055 into main May 17, 2026
1 check passed
@JohannesHoppe JohannesHoppe deleted the feature/sort-key branch May 17, 2026 15:05
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