{# 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 cards=maatlog.posts, featured_count=3 -%}
{%- include "maatlog/components/post-grid.html" -%}
{%- endwith -%}
{%- endif -%}
{%- if maatlog.site.archive_url -%}
All posts
{%- endif -%}