feat: associate books and artists

This commit is contained in:
Cory Dransfeldt 2024-08-23 17:04:36 -07:00
parent 40ad47aacb
commit fdf0ebf2ca
No known key found for this signature in database
12 changed files with 97 additions and 28 deletions

View file

@ -89,8 +89,20 @@ schema: artist
</li>
{% endfor %}
</ul>
<hr />
{%- endif -%}
{%- if artist.books -%}
<hr />
<p id="books" class="books flex-centered">
{% tablericon "books" "books" %}
I've read about this artist!
</p>
<ul>
{% for book in artist.books %}
<li><a href="{{ book.url }}">{{ book.title }}</a> by {{ book.author }}</li>
{% endfor %}
</ul>
{%- endif -%}
{%- if artist.books or artist.concerts -%}<hr />{%- endif -%}
<table>
<tr>
<th>Album</th>