var/cache/dev/twig/72/7278559a64a5d54aabb22429e1e7b750.php line 38

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. /* layouts/layout.html.twig */
  14. class __TwigTemplate_ff393c30c7c11a3943985c8888231420 extends 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->parent false;
  23.         $this->blocks = [
  24.             'layout_head_meta' => [$this'block_layout_head_meta'],
  25.             'head_stylesheets' => [$this'block_head_stylesheets'],
  26.             'headscripts' => [$this'block_headscripts'],
  27.             'inlinescripts' => [$this'block_inlinescripts'],
  28.         ];
  29.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout.html.twig"));
  38.         // line 1
  39.         echo "<!doctype html>
  40. <html lang=\"";
  41.         // line 2
  42.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "html"nulltrue);
  43.         echo "\">
  44.     <head>
  45.         <!-- Required meta tags -->
  46.         <meta charset=\"utf-8\">
  47.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  48.         ";
  49.         // line 8
  50.         ob_start();
  51.         // line 9
  52.         echo "            ";
  53.         // line 10
  54.         echo "            ";
  55.         // line 11
  56.         echo "            ";
  57.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap"], "method"falsefalsefalse11);
  58.         // line 12
  59.         echo "            ";
  60.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"=> null=> null=> ["integrity" => "sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T""crossorigin" => "anonymous"]], "method"falsefalsefalse12);
  61.         // line 13
  62.         echo "            ";
  63.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://use.fontawesome.com/releases/v5.9.0/css/all.css"], "method"falsefalsefalse13);
  64.         // line 14
  65.         echo "            ";
  66.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/magnific/magnific.css"), => "screen"], "method"falsefalsefalse14);
  67.         // line 15
  68.         echo "            ";
  69.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/autocompletejs/css/autoComplete.css"), => "screen"], "method"falsefalsefalse15);
  70.         // line 16
  71.         echo "            ";
  72.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://use.fontawesome.com/releases/v5.7.0/css/all.css"=> null=> null=> ["integrity" => "sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ""crossorigin" => "anonymous"]], "method"falsefalsefalse16);
  73.         // line 17
  74.         echo "            ";
  75.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/global.css")], "method"falsefalsefalse17);
  76.         // line 18
  77.         echo "            ";
  78.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'18$this->source); })())) {
  79.             // line 19
  80.             echo "                ";
  81.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/editmode.css")], "method"falsefalsefalse19);
  82.             // line 20
  83.             echo "            ";
  84.         }
  85.         // line 21
  86.         echo "            ";
  87.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> "https://code.jquery.com/jquery-3.3.1.slim.min.js"=> null=> null=> ["integrity" => "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo""crossorigin" => "anonymous"]], "method"falsefalsefalse21);
  88.         // line 22
  89.         echo "            ";
  90.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"=> null=> null=> ["integrity" => "sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1""crossorigin" => "anonymous"]], "method"falsefalsefalse22);
  91.         // line 23
  92.         echo "            ";
  93.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"=> null=> null=> ["integrity" => "sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM""crossorigin" => "anonymous"]], "method"falsefalsefalse23);
  94.         // line 24
  95.         echo "            ";
  96.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/magnific/magnific.js")], "method"falsefalsefalse24);
  97.         // line 25
  98.         echo "            ";
  99.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/autocompletejs/js/autoComplete.min.js")], "method"falsefalsefalse25);
  100.         // line 26
  101.         echo "            ";
  102.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/search-autocomplete.js")], "method"falsefalsefalse26);
  103.         // line 27
  104.         echo "            ";
  105.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/main.js")], "method"falsefalsefalse27);
  106.         // line 28
  107.         echo "            ";
  108.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'28$this->source); })())) {
  109.             // line 29
  110.             echo "                    ";
  111.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/frontend.js")], "method"falsefalsefalse29);
  112.             // line 30
  113.             echo "            ";
  114.         }
  115.         // line 31
  116.         echo "
  117.             ";
  118.         // line 32
  119.         if (( !array_key_exists("document"$context) ||  !(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'32$this->source); })()))) {
  120.             // line 33
  121.             echo "                ";
  122.             $context["document"] = Pimcore\Model\Document::getById(1);
  123.             // line 34
  124.             echo "            ";
  125.         }
  126.         // line 35
  127.         echo "
  128.             ";
  129.         // line 36
  130.         if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'36$this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
  131.             // line 37
  132.             echo "                ";
  133.             // line 38
  134.             echo "                ";
  135.             $context["document"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'38$this->source); })()), "getObject", [], "method"falsefalsefalse38);
  136.             // line 39
  137.             echo "            ";
  138.         }
  139.         // line 40
  140.         echo "
  141.             ";
  142.         // line 41
  143.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'41$this->source); })()), "getTitle", [], "method"falsefalsefalse41))) {
  144.             // line 42
  145.             echo "                ";
  146.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [=> twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'42$this->source); })()), "getTitle", [], "method"falsefalsefalse42)], "method"falsefalsefalse42);
  147.             // line 43
  148.             echo "            ";
  149.         }
  150.         // line 44
  151.         echo "
  152.             ";
  153.         // line 45
  154.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'45$this->source); })()), "getDescription", [], "method"falsefalsefalse45))) {
  155.             // line 46
  156.             echo "                ";
  157.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [=> twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'46$this->source); })()), "getDescription", [], "method"falsefalsefalse46)], "method"falsefalsefalse46);
  158.             // line 47
  159.             echo "            ";
  160.         }
  161.         // line 48
  162.         echo "
  163.             ";
  164.         // line 49
  165.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "append", [=> "Pimcore Demo"], "method"falsefalsefalse49);
  166.         // line 50
  167.         echo "            ";
  168.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [=> " : "], "method"falsefalsefalse50);
  169.         // line 51
  170.         echo "            ";
  171.         $context["isPortal"] = (array_key_exists("isPortal"$context) && (isset($context["isPortal"]) || array_key_exists("isPortal"$context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.'51$this->source); })()));
  172.         // line 52
  173.         echo "        ";
  174.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  175.         // line 8
  176.         echo twig_spaceless($___internal_parse_0_);
  177.         // line 53
  178.         echo "
  179.         ";
  180.         // line 55
  181.         echo "        ";
  182.         $this->displayBlock('layout_head_meta'$context$blocks);
  183.         // line 64
  184.         echo "
  185.         ";
  186.         // line 65
  187.         $this->displayBlock('head_stylesheets'$context$blocks);
  188.         // line 68
  189.         echo "
  190.     </head>
  191.     <body>
  192.         ";
  193.         // line 72
  194.         echo "        ";
  195.         if (( !array_key_exists("document"$context) ||  !(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'72$this->source); })()))) {
  196.             // line 73
  197.             echo "            ";
  198.             $context["document"] = Pimcore\Model\Document::getById(1);
  199.             // line 74
  200.             echo "        ";
  201.         }
  202.         // line 75
  203.         echo "
  204.         <nav class=\"navbar navbar-expand-md navbar-dark sticky-top py-1 site-header ";
  205.         // line 76
  206.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'76$this->source); })()), "getProperty", [=> "header_color"], "method"falsefalsefalse76), "html"nulltrue);
  207.         echo "\">
  208.             ";
  209.         // line 79
  210.         echo "            ";
  211.         $context["navStartNode"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'79$this->source); })()), "getProperty", [=> "navigation_root"], "method"falsefalsefalse79);
  212.         // line 80
  213.         echo "
  214.             ";
  215.         // line 81
  216.         if ( !$this->env->getTest('instanceof')->getCallable()((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'81$this->source); })()), "\\Pimcore\\Model\\Document")) {
  217.             // line 82
  218.             echo "                ";
  219.             $context["navStartNode"] = Pimcore\Model\Document::getById(1);
  220.             // line 83
  221.             echo "            ";
  222.         }
  223.         // line 84
  224.         echo "
  225.             ";
  226.         // line 85
  227.         $context["mainNavigation"] = $this->extensions['App\Twig\Extension\NavigationExtension']->getDataLinks((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'85$this->source); })()), (isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'85$this->source); })()));
  228.         // line 86
  229.         echo "            <div class=\"container\">
  230.                 ";
  231.         // line 88
  232.         echo "                <a class=\"py-2 mb-2\" href=\"";
  233.         echo twig_escape_filter($this->env, (isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'88$this->source); })()), "html"nulltrue);
  234.         echo "\">
  235.                     <img id=\"logo\" src=\"";
  236.         // line 89
  237.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/images/logo.svg"), "html"nulltrue);
  238.         echo "\" alt=\"Classic Cars - Pimcore Demo\">
  239.                 </a>
  240.                 ";
  241.         // line 92
  242.         echo "                <button class=\"navbar-toggler collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  243.                     <span class=\"navbar-toggler-icon\"></span>
  244.                 </button>
  245.                 ";
  246.         // line 97
  247.         echo "                <div class=\"navbar-collapse collapse\" id=\"navbarCollapse\">
  248.                     ";
  249.         // line 99
  250.         echo "
  251.                     ";
  252.         // line 101
  253.         echo $this->env->getFunction('pimcore_render_nav')->getCallable()(        // line 102
  254. (isset($context["mainNavigation"]) || array_key_exists("mainNavigation"$context) ? $context["mainNavigation"] : (function () { throw new RuntimeError('Variable "mainNavigation" does not exist.'102$this->source); })()), "menu""renderMenu", ["maxDepth" => 2"ulClass" => [=> "navbar-nav menu-links ml-4 m-auto"=> "dropdown dropdown-menu""default" => "dropdown-menu dropdown-submenu"]]);
  255.         // line 110
  256.         echo "
  257.                     ";
  258.         // line 114
  259.         echo "                    ";
  260.         echo twig_include($this->env$context"includes/navigation-icons.html.twig");
  261.         echo "
  262.                 </div>
  263.             </div>
  264.         </nav>
  265.         <header></header>
  266.         <main role=\"main\">
  267.             ";
  268.         // line 121
  269.         $context['_parent'] = $context;
  270.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'121$this->source); })()), "flashes", [], "any"falsefalsefalse121));
  271.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  272.             // line 122
  273.             echo "                ";
  274.             $context['_parent'] = $context;
  275.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  276.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  277.                 // line 123
  278.                 echo "                    <div class=\"alert alert-";
  279.                 echo twig_escape_filter($this->env$context["label"], "html"nulltrue);
  280.                 echo " alert-dismissable\">
  281.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  282.                         ";
  283.                 // line 125
  284.                 echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  285.                 echo "
  286.                     </div>
  287.                 ";
  288.             }
  289.             $_parent $context['_parent'];
  290.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  291.             $context array_intersect_key($context$_parent) + $_parent;
  292.             // line 128
  293.             echo "            ";
  294.         }
  295.         $_parent $context['_parent'];
  296.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  297.         $context array_intersect_key($context$_parent) + $_parent;
  298.         // line 129
  299.         echo "
  300.             ";
  301.         // line 131
  302.         if ((isset($context["isPortal"]) || array_key_exists("isPortal"$context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.'131$this->source); })())) {
  303.             // line 132
  304.             echo "                ";
  305.             $this->displayBlock("content"$context$blocks);
  306.             echo "
  307.             ";
  308.         } else {
  309.             // line 134
  310.             echo "                <div id=\"content\" class=\"container\">
  311.                     <div class=\"row\">
  312.                         ";
  313.             // line 136
  314.             $context["leftNavShow"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'136$this->source); })()), "getProperty", [=> "left_nav_show"], "method"falsefalsefalse136);
  315.             // line 137
  316.             echo "                        ";
  317.             $context["showBreadcrumbs"] = ((array_key_exists("hideBreadcrumbs"$context)) ? ( !(isset($context["hideBreadcrumbs"]) || array_key_exists("hideBreadcrumbs"$context) ? $context["hideBreadcrumbs"] : (function () { throw new RuntimeError('Variable "hideBreadcrumbs" does not exist.'137$this->source); })())) : (true));
  318.             // line 138
  319.             echo "                        ";
  320.             $context["mainColClass"] = (((isset($context["leftNavShow"]) || array_key_exists("leftNavShow"$context) ? $context["leftNavShow"] : (function () { throw new RuntimeError('Variable "leftNavShow" does not exist.'138$this->source); })())) ? ("col-md-9 pt-3 pt-md-5 order-last") : ("col-md-12 pt-3 pt-md-5"));
  321.             // line 139
  322.             echo "
  323.                         <div class=\"";
  324.             // line 140
  325.             echo twig_escape_filter($this->env, (isset($context["mainColClass"]) || array_key_exists("mainColClass"$context) ? $context["mainColClass"] : (function () { throw new RuntimeError('Variable "mainColClass" does not exist.'140$this->source); })()), "html"nulltrue);
  326.             echo "\">
  327.                             ";
  328.             // line 141
  329.             if ((isset($context["showBreadcrumbs"]) || array_key_exists("showBreadcrumbs"$context) ? $context["showBreadcrumbs"] : (function () { throw new RuntimeError('Variable "showBreadcrumbs" does not exist.'141$this->source); })())) {
  330.                 // line 142
  331.                 echo "                                ";
  332.                 $context["mainNavStartNode"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'142$this->source); })()), "getProperty", [=> "navigation_root"], "method"falsefalsefalse142);
  333.                 // line 143
  334.                 echo "                                ";
  335.                 if (twig_test_empty((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'143$this->source); })()))) {
  336.                     // line 144
  337.                     echo "                                    ";
  338.                     $context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
  339.                     // line 145
  340.                     echo "                                ";
  341.                 }
  342.                 // line 146
  343.                 echo "
  344.                                 ";
  345.                 // line 147
  346.                 $context["breadbrumbs"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" =>                 // line 148
  347. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'148$this->source); })()), "root" =>                 // line 149
  348. (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'149$this->source); })())]);
  349.                 // line 151
  350.                 echo "                                ";
  351.                 $this->extensions['App\Twig\Extension\NavigationExtension']->enrichBreadcrumbs((isset($context["breadbrumbs"]) || array_key_exists("breadbrumbs"$context) ? $context["breadbrumbs"] : (function () { throw new RuntimeError('Variable "breadbrumbs" does not exist.'151$this->source); })()));
  352.                 // line 152
  353.                 echo "                                ";
  354.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_nav_renderer')->getCallable()("breadcrumbs"), "setMinDepth", [=> null], "method"falsefalsefalse152);
  355.                 // line 153
  356.                 echo "
  357.                                 <div class=\"breadcrumb-header\">
  358.                                     <a href=\"/\">";
  359.                 // line 155
  360.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  361.                 echo "</a> &gt;
  362.                                     ";
  363.                 // line 156
  364.                 echo $this->env->getFunction('pimcore_render_nav')->getCallable()((isset($context["breadbrumbs"]) || array_key_exists("breadbrumbs"$context) ? $context["breadbrumbs"] : (function () { throw new RuntimeError('Variable "breadbrumbs" does not exist.'156$this->source); })()), "breadcrumbs");
  365.                 echo "
  366.                                 </div>
  367.                             ";
  368.             }
  369.             // line 159
  370.             echo "                            ";
  371.             $this->displayBlock("content"$context$blocks);
  372.             echo "
  373.                         </div>
  374.                         ";
  375.             // line 162
  376.             if ((isset($context["leftNavShow"]) || array_key_exists("leftNavShow"$context) ? $context["leftNavShow"] : (function () { throw new RuntimeError('Variable "leftNavShow" does not exist.'162$this->source); })())) {
  377.                 // line 163
  378.                 echo "                            <div class=\"col-md-3 pt-3 pt-md-5 order-first sidebar\">
  379.                                 <div class=\"sticky\">
  380.                                     <div class=\"bs-sidebar hidden-print affix-top\" role=\"complementary\">
  381.                                         ";
  382.                 // line 166
  383.                 $context["leftStartNode"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'166$this->source); })()), "getProperty", [=> "left_nav_start_node"], "method"falsefalsefalse166);
  384.                 // line 167
  385.                 echo "                                        ";
  386.                 if (twig_test_empty((isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'167$this->source); })()))) {
  387.                     // line 168
  388.                     echo "                                            ";
  389.                     $context["leftStartNode"] = (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'168$this->source); })());
  390.                     // line 169
  391.                     echo "                                        ";
  392.                 }
  393.                 // line 170
  394.                 echo "
  395.                                         ";
  396.                 // line 171
  397.                 $context["leftNav"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" =>                 // line 172
  398. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'172$this->source); })()), "root" =>                 // line 173
  399. (isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'173$this->source); })())]);
  400.                 // line 175
  401.                 echo "
  402.                                         <h5>";
  403.                 // line 176
  404.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'176$this->source); })()), "getProperty", [=> "navigation_name"], "method"falsefalsefalse176), "html"nulltrue);
  405.                 echo "</h5>
  406.                                         ";
  407.                 // line 178
  408.                 echo $this->env->getFunction('pimcore_render_nav')->getCallable()((isset($context["leftNav"]) || array_key_exists("leftNav"$context) ? $context["leftNav"] : (function () { throw new RuntimeError('Variable "leftNav" does not exist.'178$this->source); })()), "menu""renderMenu", ["ulClass" => "nav bs-sidenav""expandSiblingNodesOfActiveBranch" => true]);
  409.                 // line 181
  410.                 echo "
  411.                                     </div>
  412.                                     ";
  413.                 // line 183
  414.                 echo $this->env->getFunction('pimcore_inc')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'183$this->source); })()), "getProperty", [=> "sidebar"], "method"falsefalsefalse183));
  415.                 echo "
  416.                                 </div>
  417.                             </div>
  418.                         ";
  419.             }
  420.             // line 187
  421.             echo "                    </div>
  422.                 </div>
  423.             ";
  424.         }
  425.         // line 190
  426.         echo "            <a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary btn-lg back-to-top\" role=\"button\" title=\"Click to return on the top\" data-toggle=\"tooltip\" data-placement=\"left\">
  427.                 <span class=\"fa fa-arrow-up\"></span>
  428.             </a>
  429.         </main>
  430.         ";
  431.         // line 197
  432.         echo "        ";
  433.         echo $this->env->getFunction('pimcore_inc')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'197$this->source); })()), "getProperty", [=> "footer"], "method"falsefalsefalse197));
  434.         echo "
  435.         ";
  436.         // line 200
  437.         echo "        ";
  438.         $this->displayBlock('headscripts'$context$blocks);
  439.         // line 203
  440.         echo "
  441.         ";
  442.         // line 205
  443.         $this->displayBlock('inlinescripts'$context$blocks);
  444.         // line 208
  445.         echo "    </body>
  446. </html>";
  447.         $this->deferred->resolve($this$context$blocks);
  448.         
  449.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  450.         
  451.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  452.     }
  453.     public function block_layout_head_meta($context, array $blocks = [])
  454.     {
  455.         $this->deferred->defer($this'layout_head_meta');
  456.     }
  457.     // line 55
  458.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  459.     {
  460.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  461.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  462.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  463.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  464.         // line 56
  465.         echo "            ";
  466.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  467.         echo "
  468.             ";
  469.         // line 57
  470.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  471.         echo "
  472.             ";
  473.         // line 59
  474.         if (twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method"falsefalsefalse59)) {
  475.             // line 60
  476.             echo "                <link rel=\"canonical\" href=\"";
  477.             echo $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
  478.             echo "\"/>
  479.             ";
  480.         }
  481.         // line 62
  482.         echo "
  483.         ";
  484.         
  485.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  486.         
  487.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  488.         $this->deferred->resolve($this$context$blocks);
  489.     }
  490.     public function block_head_stylesheets($context, array $blocks = [])
  491.     {
  492.         $this->deferred->defer($this'head_stylesheets');
  493.     }
  494.     // line 65
  495.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  496.     {
  497.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  498.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  499.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  500.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  501.         // line 66
  502.         echo "            ";
  503.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  504.         echo "
  505.         ";
  506.         
  507.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  508.         
  509.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  510.         $this->deferred->resolve($this$context$blocks);
  511.     }
  512.     public function block_headscripts($context, array $blocks = [])
  513.     {
  514.         $this->deferred->defer($this'headscripts');
  515.     }
  516.     // line 200
  517.     public function block_headscripts_deferred($context, array $blocks = [])
  518.     {
  519.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  520.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  521.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  522.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  523.         // line 201
  524.         echo "            ";
  525.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  526.         echo "
  527.         ";
  528.         
  529.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  530.         
  531.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  532.         $this->deferred->resolve($this$context$blocks);
  533.     }
  534.     public function block_inlinescripts($context, array $blocks = [])
  535.     {
  536.         $this->deferred->defer($this'inlinescripts');
  537.     }
  538.     // line 205
  539.     public function block_inlinescripts_deferred($context, array $blocks = [])
  540.     {
  541.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  542.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  543.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  544.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  545.         // line 206
  546.         echo "            ";
  547.         echo $this->env->getFunction('pimcore_inline_script')->getCallable()();
  548.         echo "
  549.         ";
  550.         
  551.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  552.         
  553.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  554.         $this->deferred->resolve($this$context$blocks);
  555.     }
  556.     public function getTemplateName()
  557.     {
  558.         return "layouts/layout.html.twig";
  559.     }
  560.     public function isTraitable()
  561.     {
  562.         return false;
  563.     }
  564.     public function getDebugInfo()
  565.     {
  566.         return array (  594 => 206,  585 => 205,  566 => 201,  557 => 200,  538 => 66,  529 => 65,  512 => 62,  506 => 60,  504 => 59,  499 => 57,  494 => 56,  485 => 55,  468 => 208,  466 => 205,  462 => 203,  459 => 200,  453 => 197,  445 => 190,  440 => 187,  433 => 183,  429 => 181,  427 => 178,  422 => 176,  419 => 175,  417 => 173,  416 => 172,  415 => 171,  412 => 170,  409 => 169,  406 => 168,  403 => 167,  401 => 166,  396 => 163,  394 => 162,  387 => 159,  381 => 156,  377 => 155,  373 => 153,  370 => 152,  367 => 151,  365 => 149,  364 => 148,  363 => 147,  360 => 146,  357 => 145,  354 => 144,  351 => 143,  348 => 142,  346 => 141,  342 => 140,  339 => 139,  336 => 138,  333 => 137,  331 => 136,  327 => 134,  321 => 132,  319 => 131,  315 => 129,  309 => 128,  300 => 125,  294 => 123,  289 => 122,  285 => 121,  274 => 114,  269 => 110,  267 => 102,  266 => 101,  262 => 99,  259 => 97,  253 => 92,  248 => 89,  243 => 88,  240 => 86,  238 => 85,  235 => 84,  232 => 83,  229 => 82,  227 => 81,  224 => 80,  221 => 79,  216 => 76,  213 => 75,  210 => 74,  207 => 73,  204 => 72,  199 => 68,  197 => 65,  194 => 64,  191 => 55,  188 => 53,  186 => 8,  183 => 52,  180 => 51,  177 => 50,  175 => 49,  172 => 48,  169 => 47,  166 => 46,  164 => 45,  161 => 44,  158 => 43,  155 => 42,  153 => 41,  150 => 40,  147 => 39,  144 => 38,  142 => 37,  140 => 36,  137 => 35,  134 => 34,  131 => 33,  129 => 32,  126 => 31,  123 => 30,  120 => 29,  117 => 28,  114 => 27,  111 => 26,  108 => 25,  105 => 24,  102 => 23,  99 => 22,  96 => 21,  93 => 20,  90 => 19,  87 => 18,  84 => 17,  81 => 16,  78 => 15,  75 => 14,  72 => 13,  69 => 12,  66 => 11,  64 => 10,  62 => 9,  60 => 8,  51 => 2,  48 => 1,);
  567.     }
  568.     public function getSourceContext()
  569.     {
  570.         return new Source("<!doctype html>
  571. <html lang=\"{{ app.request.locale }}\">
  572.     <head>
  573.         <!-- Required meta tags -->
  574.         <meta charset=\"utf-8\">
  575.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  576.         {% apply spaceless %}
  577.             {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  578.             {# we use the view helper to have cache buster functionality #}
  579.             {% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap') %}
  580.             {% do pimcore_head_link().appendStylesheet('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css',null,null,{integrity:\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T\",crossorigin:\"anonymous\"}) %}
  581.             {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}
  582.             {% do pimcore_head_link().appendStylesheet(asset('static/lib/magnific/magnific.css'), 'screen') %}
  583.             {% do pimcore_head_link().appendStylesheet(asset('static/lib/autocompletejs/css/autoComplete.css'), 'screen') %}
  584.             {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.7.0/css/all.css',null,null,{integrity:'sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ',crossorigin:'anonymous'}) %}
  585.             {% do pimcore_head_link().appendStylesheet(asset('static/css/global.css')) %}
  586.             {% if editmode %}
  587.                 {% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
  588.             {% endif %}
  589.             {% do pimcore_head_script().appendFile('https://code.jquery.com/jquery-3.3.1.slim.min.js',null,null,{ integrity:\"sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo\",crossorigin:\"anonymous\"}) %}
  590.             {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js',null,null,{ integrity:\"sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1\",crossorigin:\"anonymous\"}) %}
  591.             {% do pimcore_head_script().appendFile('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js',null,null,{ integrity:\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\",crossorigin:\"anonymous\"}) %}
  592.             {% do pimcore_head_script().appendFile(asset('static/lib/magnific/magnific.js')) %}
  593.             {% do pimcore_head_script().appendFile(asset('static/lib/autocompletejs/js/autoComplete.min.js')) %}
  594.             {% do pimcore_head_script().appendFile(asset('static/js/search-autocomplete.js')) %}
  595.             {% do pimcore_head_script().appendFile(asset('static/js/main.js')) %}
  596.             {% if not editmode %}
  597.                     {% do pimcore_head_script().appendFile(asset('static/js/frontend.js')) %}
  598.             {% endif %}
  599.             {% if not document is defined or not document %}
  600.                 {% set document = pimcore_document(1) %}
  601.             {% endif %}
  602.             {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
  603.                 {# @var document \\Pimcore\\Model\\Document\\Link #}
  604.                 {% set document = document.getObject() %}
  605.             {% endif %}
  606.             {% if document.getTitle() is not empty %}
  607.                 {% do pimcore_head_title().set(document.getTitle()) %}
  608.             {% endif %}
  609.             {% if document.getDescription() is not empty %}
  610.                 {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  611.             {% endif %}
  612.             {% do pimcore_head_title().append('Pimcore Demo') %}
  613.             {% do pimcore_head_title().setSeparator(' : ') %}
  614.             {% set isPortal = ((isPortal is defined) and isPortal) %}
  615.         {% endapply %}
  616.         {# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
  617.         {% block layout_head_meta deferred %}
  618.             {{ pimcore_head_title() }}
  619.             {{ pimcore_head_meta() }}
  620.             {% if pimcore_placeholder('canonical').count() %}
  621.                 <link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
  622.             {% endif %}
  623.         {% endblock %}
  624.         {% block head_stylesheets deferred %}
  625.             {{ pimcore_head_link() }}
  626.         {% endblock %}
  627.     </head>
  628.     <body>
  629.         {# get root node if there is no document defined (for pages which are routed directly through static route) #}
  630.         {% if not document is defined or not document %}
  631.             {% set document = pimcore_document(1) %}
  632.         {% endif %}
  633.         <nav class=\"navbar navbar-expand-md navbar-dark sticky-top py-1 site-header {{ document.getProperty('header_color') }}\">
  634.             {# get the document which should be used to start in navigation | default home #}
  635.             {% set navStartNode = document.getProperty('navigation_root') %}
  636.             {% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document') %}
  637.                 {% set navStartNode = pimcore_document(1) %}
  638.             {% endif %}
  639.             {% set mainNavigation =  app_navigation_data_links(document, navStartNode) %}
  640.             <div class=\"container\">
  641.                 {#Logo Image#}
  642.                 <a class=\"py-2 mb-2\" href=\"{{ navStartNode }}\">
  643.                     <img id=\"logo\" src=\"{{ asset('/static/images/logo.svg') }}\" alt=\"Classic Cars - Pimcore Demo\">
  644.                 </a>
  645.                 {#responsive burger menu icon#}
  646.                 <button class=\"navbar-toggler collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  647.                     <span class=\"navbar-toggler-icon\"></span>
  648.                 </button>
  649.                 {#main header#}
  650.                 <div class=\"navbar-collapse collapse\" id=\"navbarCollapse\">
  651.                     {#header - generate pimcore navigation #}
  652.                     {{
  653.                         pimcore_render_nav(mainNavigation, 'menu', 'renderMenu', {
  654.                             maxDepth: 2,
  655.                             ulClass: {
  656.                                 0: 'navbar-nav menu-links ml-4 m-auto',
  657.                                 1: 'dropdown dropdown-menu',
  658.                                 'default': 'dropdown-menu dropdown-submenu'
  659.                             }
  660.                         })
  661.                     }}
  662.                     {#header - navigation icons#}
  663.                     {{ include('includes/navigation-icons.html.twig') }}
  664.                 </div>
  665.             </div>
  666.         </nav>
  667.         <header></header>
  668.         <main role=\"main\">
  669.             {% for label, messages in app.flashes %}
  670.                 {% for message in messages %}
  671.                     <div class=\"alert alert-{{ label }} alert-dismissable\">
  672.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  673.                         {{ message }}
  674.                     </div>
  675.                 {% endfor %}
  676.             {% endfor %}
  677.             {% if isPortal %}
  678.                 {{ block('content') }}
  679.             {% else %}
  680.                 <div id=\"content\" class=\"container\">
  681.                     <div class=\"row\">
  682.                         {% set leftNavShow = document.getProperty('left_nav_show') %}
  683.                         {% set showBreadcrumbs = (hideBreadcrumbs is defined) ? not hideBreadcrumbs : true %}
  684.                         {% set mainColClass = leftNavShow ? 'col-md-9 pt-3 pt-md-5 order-last' : 'col-md-12 pt-3 pt-md-5' %}
  685.                         <div class=\"{{ mainColClass }}\">
  686.                             {% if showBreadcrumbs %}
  687.                                 {% set mainNavStartNode = document.getProperty('navigation_root') %}
  688.                                 {% if mainNavStartNode is empty %}
  689.                                     {% set mainNavStartNode = pimcore_document(1) %}
  690.                                 {% endif %}
  691.                                 {% set breadbrumbs = pimcore_build_nav({
  692.                                     active: document,
  693.                                     root: mainNavStartNode
  694.                                 }) %}
  695.                                 {% do app_navigation_enrich_breadcrumbs(breadbrumbs) %}
  696.                                 {% do pimcore_nav_renderer('breadcrumbs').setMinDepth(null) %}
  697.                                 <div class=\"breadcrumb-header\">
  698.                                     <a href=\"/\">{{ \"Home\"|trans }}</a> &gt;
  699.                                     {{ pimcore_render_nav(breadbrumbs, 'breadcrumbs') }}
  700.                                 </div>
  701.                             {% endif %}
  702.                             {{ block('content') }}
  703.                         </div>
  704.                         {% if leftNavShow %}
  705.                             <div class=\"col-md-3 pt-3 pt-md-5 order-first sidebar\">
  706.                                 <div class=\"sticky\">
  707.                                     <div class=\"bs-sidebar hidden-print affix-top\" role=\"complementary\">
  708.                                         {% set leftStartNode = document.getProperty('left_nav_start_node') %}
  709.                                         {% if leftStartNode is empty %}
  710.                                             {% set leftStartNode = mainNavStartNode %}
  711.                                         {% endif %}
  712.                                         {% set leftNav = pimcore_build_nav({
  713.                                             active: document,
  714.                                             root: leftStartNode
  715.                                         }) %}
  716.                                         <h5>{{ leftStartNode.getProperty('navigation_name') }}</h5>
  717.                                         {{ pimcore_render_nav(leftNav, 'menu', 'renderMenu', {
  718.                                             ulClass: 'nav bs-sidenav',
  719.                                             expandSiblingNodesOfActiveBranch: true,
  720.                                         }) }}
  721.                                     </div>
  722.                                     {{ pimcore_inc(document.getProperty('sidebar')) }}
  723.                                 </div>
  724.                             </div>
  725.                         {% endif %}
  726.                     </div>
  727.                 </div>
  728.             {% endif %}
  729.             <a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary btn-lg back-to-top\" role=\"button\" title=\"Click to return on the top\" data-toggle=\"tooltip\" data-placement=\"left\">
  730.                 <span class=\"fa fa-arrow-up\"></span>
  731.             </a>
  732.         </main>
  733.         {# include a document-snippet - in this case the footer document #}
  734.         {{ pimcore_inc(document.getProperty('footer')) }}
  735.         {# output scripts added before #}
  736.         {% block headscripts deferred %}
  737.             {{ pimcore_head_script() }}
  738.         {% endblock %}
  739.         {% block inlinescripts deferred %}
  740.             {{ pimcore_inline_script() }}
  741.         {% endblock %}
  742.     </body>
  743. </html>""layouts/layout.html.twig""/www/htdocs/w0189996/pimcore-demo/templates/layouts/layout.html.twig");
  744.     }
  745. }