mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Added articles list
This commit is contained in:
parent
db38f68a12
commit
2cc7c33d6c
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user