diff --git a/package-lock.json b/package-lock.json index 5b37e4e6..1bdba6b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "20.9.3", + "version": "20.9.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "20.9.3", + "version": "20.9.4", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index 4cefbad8..62529be7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "20.9.3", + "version": "20.9.4", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/data/badges.js b/src/data/badges.js index 5fec133a..c1bf8406 100644 --- a/src/data/badges.js +++ b/src/data/badges.js @@ -20,7 +20,7 @@ const fetchAllBadges = async () => { const transformedData = data.map(badge => ({ ...badge, image: badge['image']['filename_disk'], - })) + })).sort((a, b) => a.sort - b.sort) return transformedData }