diff --git a/packages/astro-theme/components/BlogPostCardSet.astro b/packages/astro-theme/components/BlogPostCardSet.astro index 79cfb742..16b389eb 100644 --- a/packages/astro-theme/components/BlogPostCardSet.astro +++ b/packages/astro-theme/components/BlogPostCardSet.astro @@ -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 = (