chore: book title link

This commit is contained in:
Cory Dransfeldt 2024-04-22 12:52:43 -07:00
parent 18c07b5c0f
commit 570ffed8ae
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "12.7.1",
"version": "12.7.2",
"description": "The source for my personal site. Built using 11ty.",
"type": "module",
"scripts": {

View file

@ -12,7 +12,9 @@ permalink: "/books/index.html"
<article class="book-entry">
{% image book.image, alt %}
<div class="book-meta">
<a href="{{ book.url }}">
<p class="title"><strong>{{ book.title }}</strong></p>
</a>
{% if book.authors or book.categories %}
<p class="author-categories">{% if book.authors %}By {{ book.authors }}{% endif %}{% if book.categories %}{% if book.authors %}• {% endif %}<em>{{ book.categories }}</em>{% endif %}</p>
{% endif %}