mirror of
https://github.com/Speyll/anemone.git
synced 2024-11-10 08:26:33 +00:00
25 lines
778 B
HTML
25 lines
778 B
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block header %}
|
||
|
<h1>{{ section.title }}</h1>
|
||
|
{% endblock header %}
|
||
|
|
||
|
{% block content %}
|
||
|
{{ section.content | safe }}
|
||
|
|
||
|
{% if paginator %}
|
||
|
{% set pages = paginator.pages %}
|
||
|
{% else %}
|
||
|
{% set pages = section.pages %}
|
||
|
{% endif %}
|
||
|
<ul>
|
||
|
{% for page in pages %}
|
||
|
<li>
|
||
|
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
||
|
</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
{% if paginator %}
|
||
|
<div class="metaData">{% if paginator.previous %}<a href="{{ paginator.first }}">⥶</a>   <a href="{{ paginator.previous }}"><</a>{% endif %}   {{ paginator.current_index }} / {{ paginator.number_pagers }}   {% if paginator.next %}<a href="{{ paginator.next }}">></a>   <a href="{{ paginator.last }}">⥸</a>{% endif %}</div>
|
||
|
{% endif %}
|
||
|
{% endblock content %}
|