diff --git a/src/_data/books.js b/src/_data/books.js index 2daf15ef..50f5c3ba 100644 --- a/src/_data/books.js +++ b/src/_data/books.js @@ -19,6 +19,7 @@ module.exports = async function () { })?.['cover_i'] books.push({ title: book.title, + author: book['authors'][0].name, url: `https://oku.club/book/${book.slug}`, cover: coverId ? `https://books.coryd.dev/b/id/${coverId}-L.jpg` diff --git a/src/_includes/now.liquid b/src/_includes/now.liquid index eb529c97..27800f19 100644 --- a/src/_includes/now.liquid +++ b/src/_includes/now.liquid @@ -124,6 +124,7 @@ layout: main
{{ book.title }}
+
{{ book.author }}
{%- capture bookImg %}{{book.cover}}{% endcapture -%} {%- capture bookName %}{{book.title | escape}}{% endcapture -%}