{#- A section overview: the page's Markdown up to , then the card groups from its front matter, then the rest of the Markdown. The hook (tools/docs_site.py) resolves each card's page and checks its image. -#} {% from 'thumb.html' import preview with context %} {%- set parts = page.content.split('', 1) -%}
{{ parts[0] }}
{% for group in page.meta.groups %}

{{ group.title }}

{% if group.text %}

{{ group.text }}

{% endif %}
{% endfor %} {% if parts|length > 1 and parts[1].strip() %}
{{ parts[1] }}
{% endif %}