25 lines
776 B
HTML
25 lines
776 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ SITENAME }} - Categories{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% block content_title %}
|
|
{% endblock %}
|
|
|
|
{% for category, articles in categories | sort %}
|
|
<a class="nounderline" href="{{ SITEURL }}/{{ category.url }}" title="Permalink to {{ category|striptags }}">
|
|
<h1 class="category">{{ category }}</h1>
|
|
</a>
|
|
{% for article in articles %}
|
|
<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 %}
|
|
{% endfor %}
|
|
{% endblock %}
|