{% extends "omCmsMain/themes/"|add:siteInfoData.siteTheme.themeName|add:"/base.html" %} {% load includeif_template_exists %} {% block head-title %} {{siteInfoData.siteName}} {% endblock %} {% block body-header %} {% include "omCmsMain/themes/"|add:siteInfoData.siteTheme.themeName|add:"/header.html" %} {% endblock %} {% block body-main %}
{% with "omCmsMain/themes/"|add:siteInfoData.siteTheme.themeName|add:"/sectionLayouts/"|add:category|add:"_detail.html" as nameTemplate %} {% if nameTemplate|template_exists %} {% include nameTemplate %} {% else %} {% with "omCmsMain/themes/"|add:siteInfoData.siteTheme.themeName|add:"/sectionLayouts/"|add:"default_detail.html" as nameTemplate %} {% if nameTemplate|template_exists %} {% include nameTemplate %} {% endif %} {% endwith %} {% endif %} {% endwith %}
{% endblock %} {% block body-footer %} {% with "omCmsMain/themes/"|add:siteInfoData.siteTheme.themeName|add:"/footer.html" as footerTemplate %} {% include footerTemplate %} {% endwith %} {% endblock %}