Adds tag pages

This commit is contained in:
Mouse Reeve
2020-02-21 09:10:27 -08:00
parent bc4e65ae81
commit 375ff9365f
7 changed files with 89 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
{% extends 'layout.html' %}
{% load fr_display %}
{% block content %}
<div id="content">
<div>
<h2>Books tagged "{{ tag.name }}"</h2>
{% for book in books.all %}
<div class="book-preview">
{% include 'snippets/book.html' with book=book size=large %}
</div>
{% endfor %}
</div>
</div>
{% endblock %}