chore: book title link
This commit is contained in:
parent
18c07b5c0f
commit
570ffed8ae
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "12.7.1",
|
"version": "12.7.2",
|
||||||
"description": "The source for my personal site. Built using 11ty.",
|
"description": "The source for my personal site. Built using 11ty.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -12,7 +12,9 @@ permalink: "/books/index.html"
|
||||||
<article class="book-entry">
|
<article class="book-entry">
|
||||||
{% image book.image, alt %}
|
{% image book.image, alt %}
|
||||||
<div class="book-meta">
|
<div class="book-meta">
|
||||||
<p class="title"><strong>{{ book.title }}</strong></p>
|
<a href="{{ book.url }}">
|
||||||
|
<p class="title"><strong>{{ book.title }}</strong></p>
|
||||||
|
</a>
|
||||||
{% if book.authors or book.categories %}
|
{% 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>
|
<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 %}
|
{% endif %}
|
||||||
|
|
Reference in a new issue