Feed: strict newest-first sort; promos are badges only

This commit is contained in:
2026-06-29 05:45:46 +00:00
parent 7a84c94c3b
commit aa0d9540e8
3 changed files with 8 additions and 27 deletions

View File

@@ -33,8 +33,7 @@ export async function GET(request: Request) {
source: "imported" as const,
}));
// Decorate + reorder so premium and current-advertiser stories surface
// at the top of the feed.
// Decorate with promotion badges; preserve wp_published_at order.
const decorated = await decorateHomepageFeed("avbeat", base);
const payload = decorated.map((d) => ({
...d.article,