{# Embeddable Section Component Base section layout with overridable blocks. Use with {% embed %}. Blocks: - title: Section heading (required) - description: Optional description below title - actions: Action buttons in header (optional) - content: Main section content (required) - footer: Section footer (optional) Args (via context): - id: Section ID for anchoring - css_class: Additional CSS classes - heading_level: h2, h3, h4 (default: 'h2') - collapsible: Make section collapsible (default: false) - open: If collapsible, start expanded (default: true) Example: {% embed 'partials/_embeds/section.html' %} {% block title %}Getting Started{% end %} {% block description %}Learn the basics in 5 minutes.{% end %} {% block content %}
Full API documentation...
{% end %} {% end %} {% end %} #} {% let section_id = id ?? none %} {% let section_class = css_class ?? '' %} {% let section_heading = heading_level ?? 'h2' %} {% let section_collapsible = collapsible ?? false %} {% let section_open = open ?? true %} {% if section_collapsible %} {% else %} {% end %}