var/cache/dev/twig/21/21f2972b2a1a729c153f0c75b7e3b166.php line 43

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @BitBagSyliusCmsPlugin/Shop/Page/show.html.twig */
  14. class __TwigTemplate_18216f8b8b72f0a1de8e4efeeaec8c95 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheets' => [$this'block_stylesheets'],
  24.             'javascripts' => [$this'block_javascripts'],
  25.             'title' => [$this'block_title'],
  26.             'metatags' => [$this'block_metatags'],
  27.             'breadcrumb' => [$this'block_breadcrumb'],
  28.             'content' => [$this'block_content'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "@SyliusShop/layout.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"));
  43.         // line 3
  44.         $context["published"] = (( !(null === twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'3$this->source); })()), "publishAt", [], "any"falsefalsefalse3)) && (twig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'3$this->source); })()), "publishAt", [], "any"falsefalsefalse3), "Y-m-d H:i:s") < twig_date_format_filter($this->env"now""Y-m-d H:i:s"))) || (null === twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'3$this->source); })()), "publishAt", [], "any"falsefalsefalse3)));
  45.         // line 1
  46.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"1);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 5
  54.     public function block_stylesheets($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  61.         // line 6
  62.         echo "    ";
  63.         $this->displayParentBlock("stylesheets"$context$blocks);
  64.         echo "
  65.     ";
  66.         // line 7
  67.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("shop-cms-page"null"bootstrapTheme");
  68.         echo "
  69. ";
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.         
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74.     }
  75.     // line 10
  76.     public function block_javascripts($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  83.         // line 11
  84.         echo "    ";
  85.         $this->displayParentBlock("javascripts"$context$blocks);
  86.         echo "
  87.     ";
  88.         // line 12
  89.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("shop-cms-page"null"bootstrapTheme");
  90.         echo "
  91. ";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.     }
  97.     // line 15
  98.     public function block_title($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  105.         // line 16
  106.         echo "    ";
  107.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("dedi_sylius_seo_plugin.title", ["resource" => (($context["product"]) ?? (twig_get_attribute($this->env$this->source, (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'16$this->source); })()), "channel", [], "any"falsefalsefalse16))), "title" => ((( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'16$this->source); })()), "title", [], "any"falsefalsefalse16)) && ((isset($context["published"]) || array_key_exists("published"$context) ? $context["published"] : (function () { throw new RuntimeError('Variable "published" does not exist.'16$this->source); })()) == true))) ? (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'16$this->source); })()), "title", [], "any"falsefalsefalse16)) : (null))]);
  108.         echo "
  109. ";
  110.         
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112.         
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  114.     }
  115.     // line 19
  116.     public function block_metatags($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  123.         // line 20
  124.         echo "    ";
  125.         if (((isset($context["published"]) || array_key_exists("published"$context) ? $context["published"] : (function () { throw new RuntimeError('Variable "published" does not exist.'20$this->source); })()) == true)) {
  126.             // line 21
  127.             echo "        ";
  128.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'21$this->source); })()), "metaKeywords", [], "any"falsefalsefalse21))) {
  129.                 // line 22
  130.                 echo "            <meta name=\"keywords\" content=\"";
  131.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'22$this->source); })()), "metaKeywords", [], "any"falsefalsefalse22), "html"nulltrue);
  132.                 echo "\"/>
  133.         ";
  134.             }
  135.             // line 24
  136.             echo "        ";
  137.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'24$this->source); })()), "metaDescription", [], "any"falsefalsefalse24))) {
  138.                 // line 25
  139.                 echo "            <meta name=\"description\" content=\"";
  140.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'25$this->source); })()), "metaDescription", [], "any"falsefalsefalse25), "html"nulltrue);
  141.                 echo "\"/>
  142.         ";
  143.             }
  144.             // line 27
  145.             echo "    ";
  146.         }
  147.         
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  149.         
  150.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  151.     }
  152.     // line 30
  153.     public function block_breadcrumb($context, array $blocks = [])
  154.     {
  155.         $macros $this->macros;
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  160.         // line 31
  161.         echo "    <nav aria-label=\"breadcrumb\">
  162.         <ol class=\"breadcrumb\">
  163.             <li class=\"breadcrumb-item\"><a class=\"breadcrumb-link\" href=\"";
  164.         // line 33
  165.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
  166.         echo "\">";
  167.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.home"), "html"nulltrue);
  168.         echo "</a></li>
  169.             <li class=\"breadcrumb-item active\" aria-current=\"page\">";
  170.         // line 34
  171.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'34$this->source); })()), "breadcrumb", [], "any"falsefalsefalse34), "html"nulltrue);
  172.         echo "</li>
  173.         </ol>
  174.     </nav>
  175. ";
  176.         
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  178.         
  179.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  180.     }
  181.     // line 39
  182.     public function block_content($context, array $blocks = [])
  183.     {
  184.         $macros $this->macros;
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  186.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  189.         // line 40
  190.         echo "    ";
  191.         if (((isset($context["published"]) || array_key_exists("published"$context) ? $context["published"] : (function () { throw new RuntimeError('Variable "published" does not exist.'40$this->source); })()) == true)) {
  192.             // line 41
  193.             echo "        <div class=\"page my-7\">
  194.             <h1 class=\"bitbag-page-name\">";
  195.             // line 42
  196.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'42$this->source); })()), "name", [], "any"falsefalsefalse42), "html"nulltrue);
  197.             echo "</h1>
  198.             ";
  199.             // line 44
  200.             if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'44$this->source); })()), "image", [], "any"falsefalsefalse44)) {
  201.                 // line 45
  202.                 echo "                <img class=\"page-image ui fluid image\" src=\"";
  203.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'45$this->source); })()), "image", [], "any"falsefalsefalse45), "path", [], "any"falsefalsefalse45), "html"nulltrue);
  204.                 echo "\" alt=\"";
  205.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'45$this->source); })()), "name", [], "any"falsefalsefalse45), "html"nulltrue);
  206.                 echo "\">
  207.             ";
  208.             }
  209.             // line 47
  210.             echo "
  211.             <div class=\"bitbag-page-content\">";
  212.             // line 48
  213.             echo $this->env->getRuntime('BitBag\SyliusCmsPlugin\Twig\Runtime\RenderContentRuntime')->renderContent((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'48$this->source); })()));
  214.             echo "</div>
  215.             ";
  216.             // line 53
  217.             echo "        </div>
  218.         ";
  219.             // line 54
  220.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'54$this->source); })()), "products", [], "any"falsefalsefalse54)) > 0)) {
  221.                 // line 55
  222.                 echo "            <h2>
  223.                 ";
  224.                 // line 56
  225.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_cms_plugin.ui.page_related_products"), "html"nulltrue);
  226.                 echo "
  227.             </h2>
  228.             <div class=\"bitbag-page-products\">
  229.                 ";
  230.                 // line 59
  231.                 $this->loadTemplate("@SyliusShop/Product/_horizontalList.html.twig""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"59)->display(twig_array_merge($context, ["products" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'59$this->source); })()), "products", [], "any"falsefalsefalse59)]));
  232.                 // line 60
  233.                 echo "            </div>
  234.         ";
  235.             }
  236.             // line 62
  237.             echo "    ";
  238.         } else {
  239.             // line 63
  240.             echo "        ";
  241.             $this->loadTemplate("@BitBagSyliusCmsPlugin/Shop/Page/Error/_notPublished.html.twig""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"63)->display(twig_array_merge($context, ["publishAt" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'63$this->source); })()), "publishAt", [], "any"falsefalsefalse63)]));
  242.             // line 64
  243.             echo "    ";
  244.         }
  245.         
  246.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  247.         
  248.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  249.     }
  250.     public function getTemplateName()
  251.     {
  252.         return "@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig";
  253.     }
  254.     public function isTraitable()
  255.     {
  256.         return false;
  257.     }
  258.     public function getDebugInfo()
  259.     {
  260.         return array (  284 => 64,  281 => 63,  278 => 62,  274 => 60,  272 => 59,  266 => 56,  263 => 55,  261 => 54,  258 => 53,  253 => 48,  250 => 47,  242 => 45,  240 => 44,  235 => 42,  232 => 41,  229 => 40,  219 => 39,  205 => 34,  199 => 33,  195 => 31,  185 => 30,  174 => 27,  168 => 25,  165 => 24,  159 => 22,  156 => 21,  153 => 20,  143 => 19,  130 => 16,  120 => 15,  108 => 12,  103 => 11,  93 => 10,  81 => 7,  76 => 6,  66 => 5,  55 => 1,  53 => 3,  40 => 1,);
  261.     }
  262.     public function getSourceContext()
  263.     {
  264.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  265. {% set published = (page.publishAt is not null and page.publishAt|date(\"Y-m-d H:i:s\") < \"now\"|date(\"Y-m-d H:i:s\") or page.publishAt is null) %}
  266. {% block stylesheets %}
  267.     {{ parent() }}
  268.     {{ encore_entry_link_tags('shop-cms-page', null, 'bootstrapTheme') }}
  269. {% endblock %}
  270. {% block javascripts %}
  271.     {{ parent() }}
  272.     {{ encore_entry_script_tags('shop-cms-page', null, 'bootstrapTheme') }}
  273. {% endblock %}
  274. {% block title %}
  275.     {{ sylius_template_event('dedi_sylius_seo_plugin.title', { resource: product ?? sylius.channel, title: page.title is not empty and published == true ? page.title : null }) }}
  276. {% endblock %}
  277. {% block metatags %}
  278.     {% if published == true %}
  279.         {% if page.metaKeywords is not empty %}
  280.             <meta name=\"keywords\" content=\"{{ page.metaKeywords }}\"/>
  281.         {% endif %}
  282.         {% if page.metaDescription is not empty %}
  283.             <meta name=\"description\" content=\"{{ page.metaDescription }}\"/>
  284.         {% endif %}
  285.     {% endif %}
  286. {% endblock %}
  287. {% block breadcrumb %}
  288.     <nav aria-label=\"breadcrumb\">
  289.         <ol class=\"breadcrumb\">
  290.             <li class=\"breadcrumb-item\"><a class=\"breadcrumb-link\" href=\"{{ path('sylius_shop_homepage') }}\">{{ 'sylius.ui.home'|trans }}</a></li>
  291.             <li class=\"breadcrumb-item active\" aria-current=\"page\">{{ page.breadcrumb }}</li>
  292.         </ol>
  293.     </nav>
  294. {% endblock %}
  295. {% block content %}
  296.     {% if published == true %}
  297.         <div class=\"page my-7\">
  298.             <h1 class=\"bitbag-page-name\">{{ page.name }}</h1>
  299.             {% if page.image %}
  300.                 <img class=\"page-image ui fluid image\" src=\"{{ page.image.path }}\" alt=\"{{ page.name }}\">
  301.             {% endif %}
  302.             <div class=\"bitbag-page-content\">{{ bitbag_cms_render_content(page) }}</div>
  303.             {#<div class=\"bitbag-page-sections\">
  304.                 {% include '@BitBagSyliusCmsPlugin/Shop/Page/Show/_sections.html.twig' %}
  305.             </div>#}
  306.         </div>
  307.         {% if page.products|length > 0 %}
  308.             <h2>
  309.                 {{ 'bitbag_sylius_cms_plugin.ui.page_related_products'|trans }}
  310.             </h2>
  311.             <div class=\"bitbag-page-products\">
  312.                 {% include '@SyliusShop/Product/_horizontalList.html.twig' with {'products': page.products} %}
  313.             </div>
  314.         {% endif %}
  315.     {% else %}
  316.         {% include '@BitBagSyliusCmsPlugin/Shop/Page/Error/_notPublished.html.twig' with {'publishAt': page.publishAt} %}
  317.     {% endif %}
  318. {% endblock %}
  319. ""@BitBagSyliusCmsPlugin/Shop/Page/show.html.twig""/var/www/sudekusa-shop-test/themes/BootstrapChildTheme/BitBagSyliusCmsPlugin/views/Shop/Page/show.html.twig");
  320.     }
  321. }