{% assign content = include.content %} {% assign sections = content | split: "" | array_filter %} {% for section in sections %} {% assign dark = section | regex_scan: "dark: (.*);" | default: "" %} {% assign image = section | regex_scan: "background: (.*);" | default: nil %} {% assign size = section | regex_scan: "size: (.*);" | default: "page" %}
{{ section }}
{% endfor %}