22 lines
319 B
HTML
22 lines
319 B
HTML
{% extends "base/main.html" %}
|
|
|
|
{%block title%}
|
|
{{ category }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<h2>{{ category }}</h2>
|
|
|
|
{% if book_list %}
|
|
<div class="key">Bøker:</div>
|
|
<ul>
|
|
{% for book in book_list %}
|
|
<li><a href="/bok/{{ book.isbn }}">{{ book }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|