Merge pull request #26 from barrett-ruth/feat/config-post

misc updates
This commit is contained in:
Barrett Ruth 2025-12-26 22:52:51 -06:00 committed by GitHub
commit 8d0bbed402
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@
"check": "astro check"
},
"lint-staged": {
"*": [
"*.{js,ts,jsx,tsx,json,css,scss,md,astro,html}": [
"prettier --write",
"astro check"
]

Binary file not shown.

View file

@ -1,5 +1,5 @@
---
title: "my cp setup"
title: "my competitive programming setup"
date: "15/04/2025"
---

View file

@ -8,5 +8,5 @@ export const sortItem = (a, b) => {
const aDate = parseEuroDate(a.data.date).getTime();
const bDate = parseEuroDate(b.data.date).getTime();
return aDate === bDate ? a.slug.localeCompare(b.slug) : bDate - aDate;
return aDate === bDate ? b.slug.localeCompare(a.slug) : bDate - aDate;
};