{# MaatLog blog home page — optional Theme API 1.1 template. Extends the archive page so the hero, sidebar, and layout stay identical. #} {%- extends "maatlog/archive.html" -%} {%- block maatlog_archive_items -%}
{%- block maatlog_home_intro -%} {%- if body -%}
{{ body }}
{%- endif -%} {%- endblock maatlog_home_intro -%} {%- if maatlog.posts or maatlog.archive.total_posts == 0 -%} {%- with featured_cards=maatlog.featured, latest_cards=maatlog.latest, latest_heading="Latest articles" -%} {%- include "maatlog/components/post-grid.html" -%} {%- endwith -%} {%- endif -%} {%- if maatlog.site.archive_url -%} All posts {%- endif -%}
{%- endblock maatlog_archive_items -%}