{% 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 %}
{% if category %} {% with key='category', values=[category], title=category %}{% include "category-index.html" %}{% endwith %} {% elif tag %} {% include "tag-index.html" %} {% endif %}
{% endif %} {% endblock content %}