{%- set has_head = (variant == 'numbered' and input.number) or input.eyebrow or input.title or input.intro %}
{%- if has_head %}
{%- if variant == 'numbered' and input.number %}
{{ input.number }}
{%- endif %}
{%- if input.eyebrow %}
{{ input.eyebrow }}
{%- endif %} {%- if input.title %}

{{ input.title }}

{%- endif %} {%- if input.intro %}

{{ input.intro }}

{%- endif %}
{%- endif %} {%- if input.raw_body %}
{{ input.raw_body | safe }}
{%- elif input.body %}
{{ input.body }}
{%- endif %}