pelican-mg/templates/tag.html

29 lines
1.1 KiB
HTML
Raw Normal View History

2017-08-09 00:52:31 +00:00
{% extends "base.html" %}
2017-10-27 06:55:38 +00:00
{% block meta %}
<meta name="robots" content="noindex">
{% endblock %}
2017-08-09 00:52:31 +00:00
{% block content %}
2019-05-28 05:48:26 +00:00
<div class="uk-width-4-5@m">
2017-08-09 00:52:31 +00:00
{% if articles %}
{% for article in (articles_page.object_list if articles_page else articles) %}
{% include "partials/article-short.html" %}
{% endfor %}
{% if DEFAULT_PAGINATION and articles_paginator.num_pages > 1 %}
<ul class="uk-pagination">
2019-05-28 05:42:17 +00:00
{% if articles_previous_page %}<li><a href="{{ SITEURL }}/{{ articles_previous_page.url }}"><i class="fas fa-fast-backward"></i></a></li>{% endif %}
2017-08-09 00:52:31 +00:00
{% if articles_previous_page %}<li><a href="{{ SITEURL }}/{{ articles_previous_page.url }}">{{ articles_previous_page.number }}</a></li>{% endif %}
<li class="uk-active"><span>{{ articles_page.number }}</span></li>
2019-05-28 05:42:17 +00:00
{% if articles_next_page %}<li><a href="{{ SITEURL }}/{{ articles_next_page.url }}"><i class="fas fa-fast-forward"></i></a></li>{% endif %}
2017-08-09 00:52:31 +00:00
{% if articles_next_page %}<li><a href="{{ SITEURL }}/{{ articles_next_page.url }}">{{ articles_next_page.number }}</a></li>{% endif %}
</ul>
{% endif %}
{% endif %}
</div>
{% endblock %}