{% assign intro = site.data.pages[page.path].intro %} {% if intro != null %} {% if site.data.pages[page.path].intro-type == 'xml' %}
{% include {{intro}} type=include.type id=include.id %}
{% else %} {% capture intro-content %} {% include {{intro}} type=include.type id=include.id %} {% endcapture %}
{{ intro-content | markdownify }}
{% endif %} {% endif %}