{# ═══ SINGLE STICKY HEADER: breadcrumbs left, controls right ═══ #}
{%- if theme_show_breadcrumbs|tobool %} {%- endif %}
{%- if theme_repo_url %} {{ theme_repo_name }} {%- endif %}
{# ═══ PAGE BODY ═══ #}
{%- if is_landing %} {%- set first_pos = body.find('= 0 else -1 -%} {%- if second_pos > 0 -%} {%- set landing_intro = body[:second_pos] -%} {%- set landing_content = body[second_pos:] -%} {%- else -%} {%- set landing_intro = body -%} {%- set landing_content = '' -%} {%- endif -%} {%- if theme_logo -%} {%- set logo_img = '' -%} {{ landing_intro|replace(' {%- for card in landing_page.menu %} {%- if card.icon is defined and card.icon %} {%- endif %} {{ card.title }} {%- if card.description is defined and card.description %} {{ card.description }} {%- endif %} {%- endfor %}
{%- endif %} {{ landing_content }} {%- else %} {% block body %}{% endblock %} {%- endif %}