From a27cc791e865bca59176f1fb21ace05434103516 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 8 Sep 2023 19:02:14 -0700 Subject: [PATCH] fix: link sort --- src/_data/links.js | 2 +- src/_includes/partials/now/links.liquid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_data/links.js b/src/_data/links.js index 48a0c774..698a0ff2 100644 --- a/src/_data/links.js +++ b/src/_data/links.js @@ -12,7 +12,7 @@ module.exports = async function () { const feed = await res const articles = feed.feed return articles.reverse().map((article) => { - const tags = article['content']['tags'].map((tag) => tag['name']) + const tags = article['content']['tags'].reverse().map((tag) => tag['name']) return { url: article['content']['url'], title: article['content']['title'], diff --git a/src/_includes/partials/now/links.liquid b/src/_includes/partials/now/links.liquid index db67af21..e8551e38 100644 --- a/src/_includes/partials/now/links.liquid +++ b/src/_includes/partials/now/links.liquid @@ -4,7 +4,7 @@
Links