{% import "macros/head.html" as head -%} {% import "macros/logo.html" as logo -%} {% import "macros/header.html" as header -%} {% import "macros/extended_header.html" as extended_header -%} {% import "macros/lists.html" as lists -%} {% import "macros/posts.html" as posts -%} {% import "macros/social.html" as social -%} {% import "macros/utils.html" as utils -%} {% import "macros/menu.html" as menu -%} {% import "macros/pagination.html" as pagination -%} {% import "macros/footer.html" as footer -%} {% import "macros/extended_footer.html" as extended_footer -%} {% import "macros/comments.html" as comments -%} {%- block title -%} {{ config.title }} {%- endblock title -%} {%- block general_meta -%} {{ head::general_meta() }} {%- endblock general_meta -%} {%- block og_preview -%} {{ social::og_preview() }} {%- endblock og_preview -%} {%- block fonts -%} {{ head::fonts() }} {%- endblock fonts -%} {%- block css -%} {{ head::styling() }} {%- endblock css -%} {%- block favicon -%} {{ head::favicon() }} {%- endblock favicon -%} {%- block rss -%} {{ head::rss() }} {%- endblock rss -%} {%- block math -%} {%- endblock math -%} {# "container full" when width == True, regardless of center "container center" when only center == True "container" when both false. #} {%- if config.extra.full_width -%} {%- set container = "container full" -%} {%- elif config.extra.center -%} {%- set container = "container center" -%} {%- else -%} {%- set container = "container" -%} {%- endif -%}
{%- block header -%} {{ header::header() }} {%- endblock header -%}
{%- block main -%} {{ lists::list_pages() }} {%- endblock main -%}
{#- I keep pagination out of list, unlike Terminal, because I don't like how the pagination buttons move with the width of the content div. -#} {%- block pagination -%} {{ pagination::paginate() }} {%- endblock pagination -%} {%- block footer -%} {%- endblock footer -%}