fix: properly generate 2020 book page
This commit is contained in:
parent
54fced00e1
commit
98df43710d
3 changed files with 4 additions and 4 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Reference in a new issue