diff --git a/config/filters/index.js b/config/filters/index.js index ff987c08..88078b75 100644 --- a/config/filters/index.js +++ b/config/filters/index.js @@ -206,8 +206,9 @@ export default { } if (item.type === 'book') { normalized['alt'] = `${item['title']} by ${item['authors']}` - normalized['subtext'] = `${item['percentage']} finished` - normalized['percentage'] = item['percentage'] + normalized['title'] = `${item['title']} by ${item['authors']}` + normalized['rating'] = item['rating'] + if (item['rating']) normalized['subtext'] = item['rating'] } if (item.type === 'tv') { normalized['title'] = item['title'] diff --git a/package-lock.json b/package-lock.json index da35d694..6065f99f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "15.4.2", + "version": "15.4.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "15.4.2", + "version": "15.4.3", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.2.2", diff --git a/package.json b/package.json index 2ab61a6b..3a6ab828 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "15.4.2", + "version": "15.4.3", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_includes/partials/now/media-grid.liquid b/src/_includes/partials/now/media-grid.liquid index fc1e9d41..99e337ed 100644 --- a/src/_includes/partials/now/media-grid.liquid +++ b/src/_includes/partials/now/media-grid.liquid @@ -3,21 +3,18 @@