You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
793 B
HTML

2 years ago
{% extends "base.html" %}
{% block main_content %}
{% if section.extra.section_path -%}
{% set extra_section = get_section(path=section.extra.section_path) %}
2 years ago
{% endif -%}
{%- if section.extra.header %}
{{ macros_page_desc::page_desc(desc=section.extra.header, page=section) }}
2 years ago
{% endif -%}
<main class="list">
<div>
{{ macros_page_header::page_header(title=section.title) }}
</div>
2 years ago
{%- if paginator %}
{%- set pages = paginator.pages -%}
{% else %}
{%- set pages = extra_section.pages -%}
{% endif -%}
{% set max = section.extra.max_posts | default(value=999999) %}
{{ macros_list_posts::list_posts(posts=pages, max=max) }}
2 years ago
</main>
{% if paginator %}
{{ macros_paginate::paginate() }}
2 years ago
{% endif %}
{% endblock main_content %}