{% extends "base.html" %} {% block main_content %} {% if section.extra.section_path -%} {% set section = get_section(path=section.extra.section_path) %} {% endif -%} {{ post_macros::page_header(title=section.title) }} {%- if paginator %} {%- set show_pages = paginator.pages -%} {% else %} {%- set show_pages = section.pages -%} {% endif -%} {{ post_macros::list_posts(pages=show_pages) }} {% if paginator %}