bots-as-digital-infrapunctures/themes/default/templates/categories.html

29 lines
912 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Categories{% endblock %}
{% block content %}
{% block content_title %}
{% endblock %}
2020-09-18 17:34:01 +02:00
{% for category, articles in categories | sort(attribute="slug") %}
2020-09-11 17:59:20 +02:00
<a class="nounderline" href="{{ SITEURL }}/{{ category.url }}" title="Permalink to {{ category|striptags }}">
2020-09-18 17:41:16 +02:00
{% set c = category|replace("-","</em><br><br>") %}
{% set c = '<em>'+c %}
<h1 class="category">{{ c }}</h1>
2020-09-11 17:59:20 +02:00
</a>
2020-09-18 17:41:16 +02:00
<section>
{% for article in articles | reverse %}
<article class="hentry">
<header>
<h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
</header>
<div class="entry-content"> {{ article.summary }} </div>
<footer class="post-info"></footer>
</article>
{% endfor %}
</section>
{% endfor %}
{% endblock %}