22 lines
722 B
HTML
22 lines
722 B
HTML
{% extends "base.html" %}
|
|
{% block title %}{{ categorization.capitalize() }} - DLibrary{% endblock %}
|
|
{% block body %}
|
|
{% from 'utils.html' import urlcat, index, root with context %}
|
|
<h1 id="title"><a href="{{ root() }}/{{ index() }}">DLibrary</a> > {{ categorization.capitalize() }}</h1>
|
|
{% include 'nav.html' %}
|
|
<div class="card-listing">
|
|
{% for cat in categories %}
|
|
<div class="card {% if not work_style_cards %}category{% endif %}">
|
|
<a href="{{ urlcat(cat) }}/{{ index() }}">
|
|
<div class="card-title">
|
|
{{ cat }}
|
|
</div>
|
|
{% if samples[cat] %}
|
|
<img src="{{ root() }}/{{ samples[cat]['thumbnail_path'] }}">
|
|
{% endif %}
|
|
</a>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|