Skip to content

Commit

Permalink
chore: fix blogs sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Oct 8, 2024
1 parent efd0327 commit b7c6ce9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/Sidebar/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ export const getBlogEntries = async () => {
const sortedEntries = guides.sort((
a,
b,
) => (new Date(a.data.date).getDate() - new Date(b.data.date).getDate()));
) => (new Date(a.data.date).getTime() - new Date(b.data.date).getTime()))
.reverse();

renderList = [
{
Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/sok1.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "State of KAPLAY #1"
author: lajbel
date: 15/07/2024
date: 07/15/2024
description: Explore the latest advancements and community highlights in KAPLAY, the successor to Kaboom.js. Discover new features, contributors, and more!
image: banners/sok1.png
---
Expand Down

0 comments on commit b7c6ce9

Please sign in to comment.