|
|
@ -9,9 +9,12 @@ |
|
|
|
|
|
|
|
{% for category, articles in categories | sort(attribute="slug") %} |
|
|
|
<a class="nounderline" href="{{ SITEURL }}/{{ category.url }}" title="Permalink to {{ category|striptags }}"> |
|
|
|
<h1 class="category">{{ category }}</h1> |
|
|
|
{% set c = category|replace("-","</em><br><br>") %} |
|
|
|
{% set c = '<em>'+c %} |
|
|
|
<h1 class="category">{{ c }}</h1> |
|
|
|
</a> |
|
|
|
{% for article in articles %} |
|
|
|
<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> |
|
|
@ -20,5 +23,6 @@ |
|
|
|
<footer class="post-info"></footer> |
|
|
|
</article> |
|
|
|
{% endfor %} |
|
|
|
</section> |
|
|
|
{% endfor %} |
|
|
|
{% endblock %} |
|
|
|