From c460f2646bd30c1369790a9caa9718f87ccd46b6 Mon Sep 17 00:00:00 2001 From: Ana Gabriela Reyna Date: Tue, 26 Nov 2024 15:49:51 +0000 Subject: [PATCH] ignore relevancy on blog post display for labs (#181) --- packages/astro-theme/components/BlogPostCardSet.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = (