mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 00:12:41 +00:00
Added articles list
This commit is contained in:
parent
db38f68a12
commit
2cc7c33d6c
@ -5,10 +5,15 @@
|
||||
{% block content %}
|
||||
<div class="uk-width-medium-4-5">
|
||||
<h1 class="uk-heading-large">Tags</h1>
|
||||
<ul>
|
||||
{% for tag, articles in tags|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
|
||||
{% endfor %}
|
||||
<h2><a href="{{ SITEURL }}/{{ tag.url }}" class="uk-link-muted">{{ tag }}</a> ({{ articles|count }})</h2>
|
||||
{% for article in articles %}
|
||||
<ul class="uk-list uk-list-space">
|
||||
<li>
|
||||
<a href="{{ article.url }}">{{ article.title }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user