Skip to content

Commit

Permalink
Fix false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Dec 5, 2024
1 parent 5eca39c commit 386f9da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PostPage.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const interval = 50
return (
<PostCard
entry={entry}
title={siteConfig.topBlog && idx == 0 ? "📌 " + entry.data.title : entry.data.title}
title={siteConfig.topBlog == entry.data.title ? "📌 " + entry.data.title : entry.data.title}
tags={entry.data.tags}
category={entry.data.category}
published={entry.data.published}
Expand Down

0 comments on commit 386f9da

Please sign in to comment.