diff --git a/config/collections/index.js b/config/collections/index.js index 24d41e05..80c7e864 100644 --- a/config/collections/index.js +++ b/config/collections/index.js @@ -40,7 +40,7 @@ export const tagMap = (collection) => { export const tagsSortedByCount = (collectionApi) => { const tagStats = {}; - const posts = collectionApi.getFilteredByGlob('src/posts/**/*.*').sort((a, b) => a.date - b.date); + const posts = collectionApi.getFilteredByGlob('src/posts/**/*.*'); posts.forEach((post) => { post.data.tags.forEach((tag) => { if (!tagStats[tag]) tagStats[tag] = 1; diff --git a/package.json b/package.json index 754b6d3b..06b2a2f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "7.1.3", + "version": "7.1.4", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": {