{% extends "base.html" %} {% import "macros/section_title.html" as st %} {% import "macros/page_title.html" as pt %} {% import "macros/team_carousel.html" as tc %} {% block content %} {{ pt::page_title(title=section.title) }} {% if section.content %} {{ section.content | safe }} {% endif %} {% for page in section.pages %} {% set layout = page.extra.layout | default(value="") %} {% if layout == "carousel" %} {{ tc::team_carousel( title=page.title, anchor=page.extra.anchor | default(value=page.slug), slides=page.extra.slides) }} {% else %} {{ st::section_title(title=page.title, anchor=page.extra.anchor | default(value=page.slug)) }} {# Live's text.html.twig wraps the rendered markdown in `{{ content }}`. The browser auto-closes the outer on the first inner , leaving an empty at the top of each section — which adds the 10px margin that aligns the first float-right image with the first text line. #} {{ page.content | safe }} {% endif %} {% endfor %} {% endblock %}
{{ content }}
on the first inner
, leaving an empty
{{ page.content | safe }}