28 lines
No EOL
909 B
HTML
28 lines
No EOL
909 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block header %}
|
|
<p><a href="{{ section.path }}..">..</a>{{ section.path }}</p>
|
|
|
|
<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.date }} - {{ page.title }}</a>
|
|
<br />
|
|
{{ page.description }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% if paginator %}
|
|
<p>{% if paginator.previous %}<a href="{{ paginator.first }}"><< First</a> <a href="{{ paginator.previous }}">< Previous</a>{% endif %} [{{ paginator.current_index }}/{{ paginator.number_pagers }}] {% if paginator.next %}<a href="{{ paginator.next }}">Next ></a> <a href="{{ paginator.last }}">Last >></a>{% endif %}</p>
|
|
{% endif %}
|
|
{% endblock content %} |