{% set blFullwidth = oViewConf.getViewThemeParam("blFullwidthLayout") %} {% set blCmsOnlyStartPage = oViewConf.getViewThemeParam("blCmsOnlyStartPage") %} {% capture append = "oxidBlock_content" %} {# start content block - for individual content e.g. service, actions, content, news etc #} {% block start_cms_content %} {% include "widget/start/cms_content.html.twig" %} {% endblock %} {% if not blCmsOnlyStartPage %} {% block start_scripts %} {# external resources #} {% if oViewConf.getViewThemeParam("blUseCDN") %} {{ style({ include: "https://cdnjs.cloudflare.com/ajax/libs/Swiper/8.2.4/swiper-bundle.min.css" }) }} {{ script({ include: "https://cdnjs.cloudflare.com/ajax/libs/Swiper/8.2.4/swiper-bundle.min.js", priority: 10, dynamic: __oxid_include_dynamic }) }} {% else %} {{ style({ include: "libs/swiper/css/swiper-bundle.min.css" }) }} {{ script({ include: "libs/swiper/js/swiper-bundle.min.js", priority: 10, dynamic: __oxid_include_dynamic }) }} {% endif %} {{ script({ include: "js/actions_slider.min.js", priority: 11, dynamic: __oxid_include_dynamic }) }} {% endblock %} {% block start_bargain_articles %} {% set oBargainArticles = oView.getBargainArticleList() %} {% if not empty(oBargainArticles) and oBargainArticles.count() %} {% include "widget/product/list.html.twig" with {sListType: oViewConf.getViewThemeParam("sStartPageListDisplayType"), sHead: "START_BARGAIN_HEADER"|translate, sSubhead: "START_BARGAIN_SUBHEADER"|translate, sListId: "bargain-articles", oArticles: oBargainArticles, blShowMainLink: true, iArticlesPerLine: 4} %} {% endif %} {% endblock %} {# manufacturer slider #} {% block start_manufacturer_slider %} {% if oViewConf.getViewThemeParam("bl_showManufacturerSlider") and oViewConf.isFunctionalityEnabled("bl_perfLoadManufacturerTree") %} {% include "widget/manufacturersslider.html.twig" %} {% endif %} {% endblock %} {% block start_top_articles %} {% set oTopArticles = oView.getTop5ArticleList() %} {% if not empty(oTopArticles) and oTopArticles.count() %} {% include "widget/product/list.html.twig" with {sListType: oViewConf.getViewThemeParam("sStartPageListDisplayType"), sHead: "START_TOP_PRODUCTS_HEADER"|translate, sSubhead: "START_TOP_PRODUCTS_SUBHEADER"|translate(oTopArticles.count()), sListId: "top-articles", oArticles: oTopArticles, blShowMainLink: true, iArticlesPerLine: 2} %} {% endif %} {% endblock %} {% block start_newest_articles %} {% set oNewestArticles = oView.getNewestArticles() %} {% if not empty(oNewestArticles) and oNewestArticles.count() %} {% include "widget/product/list.html.twig" with {sListType: oViewConf.getViewThemeParam("sStartPageListDisplayType"), sHead: "START_NEWEST_HEADER"|translate, sSubhead: "START_NEWEST_SUBHEADER"|translate, sListId: "newest-articles", oArticles: oNewestArticles, blShowMainLink: true, iArticlesPerLine: 4} %} {% endif %} {% endblock %} {# promotions block #} {% block start_promotions %} {% include "widget/start/promotions.html.twig" %} {% endblock %} {% endif %} {{ insert_tracker() }} {% endcapture %} {% include "layout/page.html.twig" %}