diff --git a/src/components/PostPage.astro b/src/components/PostPage.astro index 088b2030a..f7d9a4eb1 100644 --- a/src/components/PostPage.astro +++ b/src/components/PostPage.astro @@ -7,9 +7,15 @@ const { page } = Astro.props let delay = 0 const interval = 50 + +const topBlogEntry = page.data.filter(entry => entry.title == siteConfig.topBlog)[0] + +const orderedData = [topBlogEntry, page.data.filter(entry => entry.title != siteConfig.topBlog)] + + ---