{% extends "omCmsMain/base.html" %} {% load includeif_template_exists %} {% block head-title %} {{siteInfoData.siteName}} {% endblock %} {% block body-header %} {% include 'omCmsMain/header.html' %} {% endblock %} {% block body-main %} {% if siteInfoData.displaySlideShow %} {% include 'omCmsMain/sectionLayouts/slider.html' %} {% endif %} {% for item in itemList %}
{% for articleitem in articleList %} {% if articleitem.articleCategory|stringformat:"s" == item.itemCategory|stringformat:"s" %} {% if item.itemTemplate %} {% include 'omCmsMain/sectionLayouts/'|add:item.itemTemplate|add:'.html' %} {% else %} {% if 'omCmsMain/sectionLayouts/'|add:item.itemCategory|add:'.html'|template_exists %} {% include 'omCmsMain/sectionLayouts/'|add:item.itemCategory|add:'.html' %} {% else %} {% include 'omCmsMain/sectionLayouts/default.html' %} {% endif %} {% endif %} {% endif %} {% endfor %}

TOP

{% endfor %} {% endblock %} {% block body-footer %} {% include 'omCmsMain/footer.html' %} {% endblock %}