{% macro RenderPageSection(section, type) %} {% filter page_html_content(section, type) %} {% set content = section.content %} {% if (is_string(content)) %} {% include template_from_string(content) %} {% elseif (is_widget(content)) %} {{ widget(content) }} {% else %} {{ content }} {% endif %} {% endfilter %} {% endmacro %} {% macro GenerateTags(tags) %} {% for tag in tags %} <{{ tag.name }}{{ arrayToAttributes(tag.attributes) }}/> {% endfor %} {% endmacro %} {% macro GeneratePageTitle(page) %}{{ ContentHelper.generatePageTitle(page) }}{% endmacro %} {% macro getContentSectionAbsoluteAddress() %}{{ ContentHelper.getContentSectionAbsoluteAddress() }}{% endmacro %}