mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block meta %}
|
|
<meta name="robots" content="noindex">
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="uk-width-4-5@m">
|
|
|
|
{% 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">
|
|
{% if articles_previous_page %}<li><a href="{{ SITEURL }}/{{ articles_previous_page.url }}"><i class="fas fa-fast-backward"></i></a></li>{% endif %}
|
|
{% 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>
|
|
{% if articles_next_page %}<li><a href="{{ SITEURL }}/{{ articles_next_page.url }}"><i class="fas fa-fast-forward"></i></a></li>{% endif %}
|
|
{% if articles_next_page %}<li><a href="{{ SITEURL }}/{{ articles_next_page.url }}">{{ articles_next_page.number }}</a></li>{% endif %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|