fix: properly generate 2020 book page

This commit is contained in:
Cory Dransfeldt 2024-07-15 19:25:48 -07:00
parent 54fced00e1
commit 98df43710d
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "20.8.2",
"version": "20.8.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "20.8.2",
"version": "20.8.3",
"license": "MIT",
"dependencies": {
"@cdransf/api-text": "^1.4.0",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "20.8.2",
"version": "20.8.3",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"scripts": {

View file

@ -78,7 +78,7 @@ const sortBooksByYear = (books) => {
years[year]['data'].push(book)
}
})
return Object.values(years).filter(year => year.value > 2020)
return Object.values(years).filter(year => year.value > 2019)
}
export default async function () {