create listing pages per author/tag/etc

This commit is contained in:
xenofem 2024-01-22 23:20:42 -05:00
parent a290c2c4e7
commit c1c1813c88
2 changed files with 39 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block body %}
{% from 'utils.html' import root with context %}
<h1 id="list-title"><a href={{ root() }}>DLibrary</a> {% block list_title %}{% endblock %}</h1>
<h1 id="list-title"><a href="{{ root() }}">DLibrary</a>{% if category %} &gt; <a href="{{ root() }}{{ category }}">{{ category.capitalize() }}</a>{% endif %}{% if title %} &gt; {{ title }}{% endif %}</h1>
<div class="card-listing">
{% for work in works %}
<div class="card">