From caaf12042e98ff81c63ea63d2d95a00d0708831e Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 8 Sep 2024 11:33:50 -0700 Subject: [PATCH] fix: alt text --- package-lock.json | 4 ++-- package.json | 2 +- src/pages/dynamic/books/book.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index a854e5cc..4136027f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "24.7.10", + "version": "24.7.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "24.7.10", + "version": "24.7.11", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index b721781d..d4d22e05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "24.7.10", + "version": "24.7.11", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/pages/dynamic/books/book.html b/src/pages/dynamic/books/book.html index 5dec24b8..03ac537f 100644 --- a/src/pages/dynamic/books/book.html +++ b/src/pages/dynamic/books/book.html @@ -9,7 +9,7 @@ isbn: {{ book.isbn }} schema: book --- {%- capture alt -%} - {{ book.title }}{% if book.authors %}By {{ book.authors }}{% endif %} + {{ book.title }}{% if book.author %} by {{ book.author }}{% endif %} {%- endcapture -%} {% tablericon "arrow-left" "Go back to the books index page" %} Back to books