Added articles list

This commit is contained in:
Luca Chiricozzi 2015-01-01 01:22:41 +01:00
parent db38f68a12
commit 2cc7c33d6c

View File

@ -5,10 +5,15 @@
{% block content %} {% block content %}
<div class="uk-width-medium-4-5"> <div class="uk-width-medium-4-5">
<h1 class="uk-heading-large">Tags</h1> <h1 class="uk-heading-large">Tags</h1>
<ul>
{% for tag, articles in tags|sort %} {% for tag, articles in tags|sort %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li> <h2><a href="{{ SITEURL }}/{{ tag.url }}" class="uk-link-muted">{{ tag }}</a> ({{ articles|count }})</h2>
{% endfor %} {% for article in articles %}
<ul class="uk-list uk-list-space">
<li>
<a href="{{ article.url }}">{{ article.title }}</a>
</li>
</ul> </ul>
{% endfor %}
{% endfor %}
</div> </div>
{% endblock %} {% endblock %}