Skip to content

Commit

Permalink
ignore relevancy on blog post display for labs (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielaReyna authored Nov 26, 2024
1 parent a8a9d4f commit c460f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro-theme/components/BlogPostCardSet.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function sortCalc(post: CollectionEntry<"blog">): number {
if (post.data.featured) {
relevancy *= 2;
}
return post.data.pubDate.valueOf() * relevancy;
return post.data.pubDate.valueOf();
}
const posts = (
Expand Down

0 comments on commit c460f26

Please sign in to comment.