dnd/deadsands/deadsands-theme/templates/index.html
2023-06-11 21:35:15 -07:00

21 lines
706 B
HTML

{% extends "base.html" %}
{% block title %}{{ category if category else tag if tag else "" |capitalize }} - {{SITENAME}}{% endblock title %}
{% block navclass %}active{%endblock%}
{% block content %}
{% if not self.is_dm() and category == 'dm' %}
{% else %}
<section id="content" class="content">
{% if category %}
{% if category.name in ('locations', ) %}
{% include category.name + "-index.html" %}
{% else %}
{% with key='category', values=[category], title=category %}{% include "category-index.html" %}{% endwith %}
{% endif %}
{% elif tag %}
{% include "tag-index.html" %}
{% endif %}
</section>
{% endif %}
{% endblock content %}