{% macro RenderPageSection(section, type) %} {% filter page_html_content(section, type) %} {% if (is_string(section.content)) %} {% include template_from_string(section.content) %} {% else %} {{ widget(section.content) }} {% endif %} {% endfilter %} {% endmacro %} {% macro GenerateTags(tags) %} {% for tag in tags %} <{{ tag.name }}{{ arrayToAttributes(tag.attributes) }}/> {% endfor %} {% endmacro %}