From 3f032510f0c70424d019dc8f76f038bf26f0398f Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Sun, 7 Jul 2024 23:18:43 -0500 Subject: [PATCH] guh --- blog.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/blog.js b/blog.js index cca29d1..8ba5779 100644 --- a/blog.js +++ b/blog.js @@ -39,12 +39,13 @@ module.exports = { } if (config.pinned) { - posts.unshift(config) - } else { posts.push(config) + } else { + posts.unshift(config) } } } + posts.reverse() return posts }