var/cache/dev/twig/bb/bb815334b0f463a9d65796d43c771d2d1049082e22fe8d16e55155c7f1494ec0.php line 383

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_92e7b70e75a43f852b5a05d89ef3631cfd4eeb9e502c120444f90753af8a50cd 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500&display=swap"], "method"falsefalsefalse11);
  58.         // line 12
  59.         echo "            ";
  60.         twig_get_attribute($this->env$this->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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 (call_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($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->sourcecall_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "append", [=> "Pimcore Demo"], "method"falsefalsefalse49);
  166.         // line 50
  167.         echo "            ";
  168.         twig_get_attribute($this->env$this->sourcecall_user_func_array($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_b54e4a1802bcb58eeefed14475dad94ef9f606999a45d1f77df1e1c3b2cab929_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  175.         // line 8
  176.         echo twig_spaceless($___internal_b54e4a1802bcb58eeefed14475dad94ef9f606999a45d1f77df1e1c3b2cab929_);
  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 ( !call_user_func_array($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 "            
  230.             <div class=\"container\">
  231.                 ";
  232.         // line 89
  233.         echo "                <a class=\"py-2 mb-2\" href=\"";
  234.         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.'89$this->source); })()), "html"nulltrue);
  235.         echo "\">
  236.                     <img id=\"logo\" style=\"width:134px;height:75px;\" src=\"";
  237.         // line 90
  238.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/images/logo_1.png"), "html"nulltrue);
  239.         echo "\" alt=\"Classic Cars - Pimcore Demo\">
  240.                 </a>
  241.                 ";
  242.         // line 93
  243.         echo "                <button class=\"navbar-toggler collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  244.                     <span class=\"navbar-toggler-icon\"></span>
  245.                 </button>
  246.                 ";
  247.         // line 98
  248.         echo "                <div class=\"navbar-collapse collapse\" id=\"navbarCollapse\">
  249.                     ";
  250.         // line 100
  251.         echo "
  252.                     ";
  253.         // line 102
  254.         echo $this->extensions['Pimcore\Twig\Extension\NavigationExtension']->render(        // line 103
  255. (isset($context["mainNavigation"]) || array_key_exists("mainNavigation"$context) ? $context["mainNavigation"] : (function () { throw new RuntimeError('Variable "mainNavigation" does not exist.'103$this->source); })()), "menu""renderMenu", ["maxDepth" => 2"ulClass" => [=> "navbar-nav menu-links ml-4 m-auto"=> "dropdown dropdown-menu""default" => "dropdown-menu dropdown-submenu"]]);
  256.         // line 111
  257.         echo "
  258.                     ";
  259.         // line 115
  260.         echo "                    ";
  261.         echo twig_include($this->env$context"includes/navigation-icons.html.twig");
  262.         echo "
  263.                 </div>
  264.             </div>
  265.             
  266.         </nav>
  267.         
  268.         <header></header>
  269.         <main role=\"main\">
  270.             ";
  271.         // line 124
  272.         $context['_parent'] = $context;
  273.         $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.'124$this->source); })()), "flashes", [], "any"falsefalsefalse124));
  274.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  275.             // line 125
  276.             echo "                ";
  277.             $context['_parent'] = $context;
  278.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  279.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  280.                 // line 126
  281.                 echo "                    <div class=\"alert alert-";
  282.                 echo twig_escape_filter($this->env$context["label"], "html"nulltrue);
  283.                 echo " alert-dismissable\">
  284.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  285.                         ";
  286.                 // line 128
  287.                 echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  288.                 echo "
  289.                     </div>
  290.                 ";
  291.             }
  292.             $_parent $context['_parent'];
  293.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  294.             $context array_intersect_key($context$_parent) + $_parent;
  295.             // line 131
  296.             echo "            ";
  297.         }
  298.         $_parent $context['_parent'];
  299.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  300.         $context array_intersect_key($context$_parent) + $_parent;
  301.         // line 132
  302.         echo "
  303.             ";
  304.         // line 134
  305.         if ((isset($context["isPortal"]) || array_key_exists("isPortal"$context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.'134$this->source); })())) {
  306.             // line 135
  307.             echo "                ";
  308.             $this->displayBlock("content"$context$blocks);
  309.             echo "
  310.             ";
  311.         } else {
  312.             // line 137
  313.             echo "                <div id=\"content\" class=\"container\">
  314.                     <div class=\"row\">
  315.                         ";
  316.             // line 139
  317.             $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.'139$this->source); })()), "getProperty", [=> "left_nav_show"], "method"falsefalsefalse139);
  318.             // line 140
  319.             echo "                        ";
  320.             $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.'140$this->source); })())) : (true));
  321.             // line 141
  322.             echo "                        ";
  323.             $context["mainColClass"] = (((isset($context["leftNavShow"]) || array_key_exists("leftNavShow"$context) ? $context["leftNavShow"] : (function () { throw new RuntimeError('Variable "leftNavShow" does not exist.'141$this->source); })())) ? ("col-md-9 pt-3 pt-md-5 order-last") : ("col-md-12 pt-3 pt-md-5"));
  324.             // line 142
  325.             echo "
  326.                         <div class=\"";
  327.             // line 143
  328.             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.'143$this->source); })()), "html"nulltrue);
  329.             echo "\">
  330.                             ";
  331.             // line 144
  332.             if ((isset($context["showBreadcrumbs"]) || array_key_exists("showBreadcrumbs"$context) ? $context["showBreadcrumbs"] : (function () { throw new RuntimeError('Variable "showBreadcrumbs" does not exist.'144$this->source); })())) {
  333.                 // line 145
  334.                 echo "                                ";
  335.                 $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.'145$this->source); })()), "getProperty", [=> "navigation_root"], "method"falsefalsefalse145);
  336.                 // line 146
  337.                 echo "                                ";
  338.                 if (twig_test_empty((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'146$this->source); })()))) {
  339.                     // line 147
  340.                     echo "                                    ";
  341.                     $context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
  342.                     // line 148
  343.                     echo "                                ";
  344.                 }
  345.                 // line 149
  346.                 echo "
  347.                                 ";
  348.                 // line 150
  349.                 $context["breadbrumbs"] = $this->extensions['Pimcore\Twig\Extension\NavigationExtension']->buildNavigation(["active" =>                 // line 151
  350. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'151$this->source); })()), "root" =>                 // line 152
  351. (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'152$this->source); })())]);
  352.                 // line 154
  353.                 echo "                                ";
  354.                 $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.'154$this->source); })()));
  355.                 // line 155
  356.                 echo "                                ";
  357.                 twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\NavigationExtension']->getRenderer("breadcrumbs"), "setMinDepth", [=> null], "method"falsefalsefalse155);
  358.                 // line 156
  359.                 echo "
  360.                                 ";
  361.                 // line 161
  362.                 echo "                            ";
  363.             }
  364.             // line 162
  365.             echo "                            ";
  366.             $this->displayBlock("content"$context$blocks);
  367.             echo "
  368.                         </div>
  369.                         ";
  370.             // line 165
  371.             if ((isset($context["leftNavShow"]) || array_key_exists("leftNavShow"$context) ? $context["leftNavShow"] : (function () { throw new RuntimeError('Variable "leftNavShow" does not exist.'165$this->source); })())) {
  372.                 // line 166
  373.                 echo "                            <div class=\"col-md-3 pt-3 pt-md-5 order-first sidebar\">
  374.                                 <div class=\"sticky\">
  375.                                     <div class=\"bs-sidebar hidden-print affix-top\" role=\"complementary\">
  376.                                         ";
  377.                 // line 169
  378.                 $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.'169$this->source); })()), "getProperty", [=> "left_nav_start_node"], "method"falsefalsefalse169);
  379.                 // line 170
  380.                 echo "                                        ";
  381.                 if (twig_test_empty((isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'170$this->source); })()))) {
  382.                     // line 171
  383.                     echo "                                            ";
  384.                     $context["leftStartNode"] = (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'171$this->source); })());
  385.                     // line 172
  386.                     echo "                                        ";
  387.                 }
  388.                 // line 173
  389.                 echo "
  390.                                         ";
  391.                 // line 174
  392.                 $context["leftNav"] = $this->extensions['Pimcore\Twig\Extension\NavigationExtension']->buildNavigation(["active" =>                 // line 175
  393. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'175$this->source); })()), "root" =>                 // line 176
  394. (isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'176$this->source); })())]);
  395.                 // line 178
  396.                 echo "
  397.                                         <h5>";
  398.                 // line 179
  399.                 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.'179$this->source); })()), "getProperty", [=> "navigation_name"], "method"falsefalsefalse179), "html"nulltrue);
  400.                 echo "</h5>
  401.                                         ";
  402.                 // line 181
  403.                 echo $this->extensions['Pimcore\Twig\Extension\NavigationExtension']->render((isset($context["leftNav"]) || array_key_exists("leftNav"$context) ? $context["leftNav"] : (function () { throw new RuntimeError('Variable "leftNav" does not exist.'181$this->source); })()), "menu""renderMenu", ["ulClass" => "nav bs-sidenav""expandSiblingNodesOfActiveBranch" => true]);
  404.                 // line 184
  405.                 echo "
  406.                                     </div>
  407.                                     ";
  408.                 // line 186
  409.                 echo call_user_func_array($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.'186$this->source); })()), "getProperty", [=> "sidebar"], "method"falsefalsefalse186)]);
  410.                 echo "
  411.                                 </div>
  412.                             </div>
  413.                         ";
  414.             }
  415.             // line 190
  416.             echo "                    </div>
  417.                 </div>
  418.             ";
  419.         }
  420.         // line 193
  421.         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\">
  422.                 <span class=\"fa fa-arrow-up\"></span>
  423.             </a>
  424.         </main>
  425.         ";
  426.         // line 200
  427.         echo "        ";
  428.         echo call_user_func_array($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.'200$this->source); })()), "getProperty", [=> "footer"], "method"falsefalsefalse200)]);
  429.         echo "
  430.         ";
  431.         // line 203
  432.         echo "        ";
  433.         $this->displayBlock('headscripts'$context$blocks);
  434.         // line 206
  435.         echo "
  436.         ";
  437.         // line 208
  438.         $this->displayBlock('inlinescripts'$context$blocks);
  439.         // line 211
  440.         echo "    </body>
  441. </html>";
  442.         $this->deferred->resolve($this$context$blocks);
  443.         
  444.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  445.         
  446.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  447.     }
  448.     public function block_layout_head_meta($context, array $blocks = [])
  449.     {
  450.         $this->deferred->defer($this'layout_head_meta');
  451.     }
  452.     // line 55
  453.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  454.     {
  455.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  456.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  457.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  458.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  459.         // line 56
  460.         echo "            ";
  461.         echo call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []);
  462.         echo "
  463.             ";
  464.         // line 57
  465.         echo call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []);
  466.         echo "
  467.             ";
  468.         // line 59
  469.         if (twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_placeholder')->getCallable(), ["canonical"]), "count", [], "method"falsefalsefalse59)) {
  470.             // line 60
  471.             echo "                <link rel=\"canonical\" href=\"";
  472.             echo call_user_func_array($this->env->getFunction('pimcore_placeholder')->getCallable(), ["canonical"]);
  473.             echo "\"/>
  474.             ";
  475.         }
  476.         // line 62
  477.         echo "
  478.         ";
  479.         
  480.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  481.         
  482.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  483.         $this->deferred->resolve($this$context$blocks);
  484.     }
  485.     public function block_head_stylesheets($context, array $blocks = [])
  486.     {
  487.         $this->deferred->defer($this'head_stylesheets');
  488.     }
  489.     // line 65
  490.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  491.     {
  492.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  493.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  494.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  495.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  496.         // line 66
  497.         echo "            ";
  498.         echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
  499.         echo "
  500.         ";
  501.         
  502.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  503.         
  504.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  505.         $this->deferred->resolve($this$context$blocks);
  506.     }
  507.     public function block_headscripts($context, array $blocks = [])
  508.     {
  509.         $this->deferred->defer($this'headscripts');
  510.     }
  511.     // line 203
  512.     public function block_headscripts_deferred($context, array $blocks = [])
  513.     {
  514.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  515.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  516.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  517.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  518.         // line 204
  519.         echo "            ";
  520.         echo call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []);
  521.         echo "
  522.         ";
  523.         
  524.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  525.         
  526.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  527.         $this->deferred->resolve($this$context$blocks);
  528.     }
  529.     public function block_inlinescripts($context, array $blocks = [])
  530.     {
  531.         $this->deferred->defer($this'inlinescripts');
  532.     }
  533.     // line 208
  534.     public function block_inlinescripts_deferred($context, array $blocks = [])
  535.     {
  536.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  537.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  538.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  539.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  540.         // line 209
  541.         echo "            ";
  542.         echo call_user_func_array($this->env->getFunction('pimcore_inline_script')->getCallable(), []);
  543.         echo "
  544.         ";
  545.         
  546.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  547.         
  548.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  549.         $this->deferred->resolve($this$context$blocks);
  550.     }
  551.     public function getTemplateName()
  552.     {
  553.         return "layouts/layout.html.twig";
  554.     }
  555.     public function isTraitable()
  556.     {
  557.         return false;
  558.     }
  559.     public function getDebugInfo()
  560.     {
  561.         return array (  589 => 209,  580 => 208,  561 => 204,  552 => 203,  533 => 66,  524 => 65,  507 => 62,  501 => 60,  499 => 59,  494 => 57,  489 => 56,  480 => 55,  463 => 211,  461 => 208,  457 => 206,  454 => 203,  448 => 200,  440 => 193,  435 => 190,  428 => 186,  424 => 184,  422 => 181,  417 => 179,  414 => 178,  412 => 176,  411 => 175,  410 => 174,  407 => 173,  404 => 172,  401 => 171,  398 => 170,  396 => 169,  391 => 166,  389 => 165,  382 => 162,  379 => 161,  376 => 156,  373 => 155,  370 => 154,  368 => 152,  367 => 151,  366 => 150,  363 => 149,  360 => 148,  357 => 147,  354 => 146,  351 => 145,  349 => 144,  345 => 143,  342 => 142,  339 => 141,  336 => 140,  334 => 139,  330 => 137,  324 => 135,  322 => 134,  318 => 132,  312 => 131,  303 => 128,  297 => 126,  292 => 125,  288 => 124,  275 => 115,  270 => 111,  268 => 103,  267 => 102,  263 => 100,  260 => 98,  254 => 93,  249 => 90,  244 => 89,  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,);
  562.     }
  563.     public function getSourceContext()
  564.     {
  565.         return new Source("<!doctype html>
  566. <html lang=\"{{ app.request.locale }}\">
  567.     <head>
  568.         <!-- Required meta tags -->
  569.         <meta charset=\"utf-8\">
  570.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  571.         {% apply spaceless %}
  572.             {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  573.             {# we use the view helper to have cache buster functionality #}
  574.             {% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500&display=swap') %}
  575.             {% 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\"}) %}
  576.             {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}
  577.             {% do pimcore_head_link().appendStylesheet(asset('static/lib/magnific/magnific.css'), 'screen') %}
  578.             {% do pimcore_head_link().appendStylesheet(asset('static/lib/autocompletejs/css/autoComplete.css'), 'screen') %}
  579.             {% 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'}) %}
  580.             {% do pimcore_head_link().appendStylesheet(asset('static/css/global.css')) %}
  581.             {% if editmode %}
  582.                 {% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
  583.             {% endif %}
  584.             {% 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\"}) %}
  585.             {% 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\"}) %}
  586.             {% 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\"}) %}
  587.             {% do pimcore_head_script().appendFile(asset('static/lib/magnific/magnific.js')) %}
  588.             {% do pimcore_head_script().appendFile(asset('static/lib/autocompletejs/js/autoComplete.min.js')) %}
  589.             {% do pimcore_head_script().appendFile(asset('static/js/search-autocomplete.js')) %}
  590.             {% do pimcore_head_script().appendFile(asset('static/js/main.js')) %}
  591.             {% if not editmode %}
  592.                     {% do pimcore_head_script().appendFile(asset('static/js/frontend.js')) %}
  593.             {% endif %}
  594.             {% if not document is defined or not document %}
  595.                 {% set document = pimcore_document(1) %}
  596.             {% endif %}
  597.             {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
  598.                 {# @var document \\Pimcore\\Model\\Document\\Link #}
  599.                 {% set document = document.getObject() %}
  600.             {% endif %}
  601.             {% if document.getTitle() is not empty %}
  602.                 {% do pimcore_head_title().set(document.getTitle()) %}
  603.             {% endif %}
  604.             {% if document.getDescription() is not empty %}
  605.                 {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  606.             {% endif %}
  607.             {% do pimcore_head_title().append('Pimcore Demo') %}
  608.             {% do pimcore_head_title().setSeparator(' : ') %}
  609.             {% set isPortal = ((isPortal is defined) and isPortal) %}
  610.         {% endapply %}
  611.         {# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
  612.         {% block layout_head_meta deferred %}
  613.             {{ pimcore_head_title() }}
  614.             {{ pimcore_head_meta() }}
  615.             {% if pimcore_placeholder('canonical').count() %}
  616.                 <link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
  617.             {% endif %}
  618.         {% endblock %}
  619.         {% block head_stylesheets deferred %}
  620.             {{ pimcore_head_link() }}
  621.         {% endblock %}
  622.     </head>
  623.     <body>
  624.         {# get root node if there is no document defined (for pages which are routed directly through static route) #}
  625.         {% if not document is defined or not document %}
  626.             {% set document = pimcore_document(1) %}
  627.         {% endif %}
  628.         
  629.         <nav class=\"navbar navbar-expand-md navbar-dark sticky-top py-1 site-header {{ document.getProperty('header_color') }}\">
  630.             {# get the document which should be used to start in navigation | default home #}
  631.             {% set navStartNode = document.getProperty('navigation_root') %}
  632.             {% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document') %}
  633.                 {% set navStartNode = pimcore_document(1) %}
  634.             {% endif %}
  635.             {% set mainNavigation =  app_navigation_data_links(document, navStartNode) %}
  636.             
  637.             <div class=\"container\">
  638.                 {#Logo Image#}
  639.                 <a class=\"py-2 mb-2\" href=\"{{ navStartNode }}\">
  640.                     <img id=\"logo\" style=\"width:134px;height:75px;\" src=\"{{ asset('/static/images/logo_1.png') }}\" alt=\"Classic Cars - Pimcore Demo\">
  641.                 </a>
  642.                 {#responsive burger menu icon#}
  643.                 <button class=\"navbar-toggler collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  644.                     <span class=\"navbar-toggler-icon\"></span>
  645.                 </button>
  646.                 {#main header#}
  647.                 <div class=\"navbar-collapse collapse\" id=\"navbarCollapse\">
  648.                     {#header - generate pimcore navigation #}
  649.                     {{
  650.                         pimcore_render_nav(mainNavigation, 'menu', 'renderMenu', {
  651.                             maxDepth: 2,
  652.                             ulClass: {
  653.                                 0: 'navbar-nav menu-links ml-4 m-auto',
  654.                                 1: 'dropdown dropdown-menu',
  655.                                 'default': 'dropdown-menu dropdown-submenu'
  656.                             }
  657.                         })
  658.                     }}
  659.                     {#header - navigation icons#}
  660.                     {{ include('includes/navigation-icons.html.twig') }}
  661.                 </div>
  662.             </div>
  663.             
  664.         </nav>
  665.         
  666.         <header></header>
  667.         <main role=\"main\">
  668.             {% for label, messages in app.flashes %}
  669.                 {% for message in messages %}
  670.                     <div class=\"alert alert-{{ label }} alert-dismissable\">
  671.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  672.                         {{ message }}
  673.                     </div>
  674.                 {% endfor %}
  675.             {% endfor %}
  676.             {% if isPortal %}
  677.                 {{ block('content') }}
  678.             {% else %}
  679.                 <div id=\"content\" class=\"container\">
  680.                     <div class=\"row\">
  681.                         {% set leftNavShow = document.getProperty('left_nav_show') %}
  682.                         {% set showBreadcrumbs = (hideBreadcrumbs is defined) ? not hideBreadcrumbs : true %}
  683.                         {% set mainColClass = leftNavShow ? 'col-md-9 pt-3 pt-md-5 order-last' : 'col-md-12 pt-3 pt-md-5' %}
  684.                         <div class=\"{{ mainColClass }}\">
  685.                             {% if showBreadcrumbs %}
  686.                                 {% set mainNavStartNode = document.getProperty('navigation_root') %}
  687.                                 {% if mainNavStartNode is empty %}
  688.                                     {% set mainNavStartNode = pimcore_document(1) %}
  689.                                 {% endif %}
  690.                                 {% set breadbrumbs = pimcore_build_nav({
  691.                                     active: document,
  692.                                     root: mainNavStartNode
  693.                                 }) %}
  694.                                 {% do app_navigation_enrich_breadcrumbs(breadbrumbs) %}
  695.                                 {% do pimcore_nav_renderer('breadcrumbs').setMinDepth(null) %}
  696.                                 {# <div class=\"breadcrumb-header\">
  697.                                     <a href=\"/\">{{ \"Home\"|trans }}</a> &gt;
  698.                                     {{ pimcore_render_nav(breadbrumbs, 'breadcrumbs') }}
  699.                                 </div> #}
  700.                             {% endif %}
  701.                             {{ block('content') }}
  702.                         </div>
  703.                         {% if leftNavShow %}
  704.                             <div class=\"col-md-3 pt-3 pt-md-5 order-first sidebar\">
  705.                                 <div class=\"sticky\">
  706.                                     <div class=\"bs-sidebar hidden-print affix-top\" role=\"complementary\">
  707.                                         {% set leftStartNode = document.getProperty('left_nav_start_node') %}
  708.                                         {% if leftStartNode is empty %}
  709.                                             {% set leftStartNode = mainNavStartNode %}
  710.                                         {% endif %}
  711.                                         {% set leftNav = pimcore_build_nav({
  712.                                             active: document,
  713.                                             root: leftStartNode
  714.                                         }) %}
  715.                                         <h5>{{ leftStartNode.getProperty('navigation_name') }}</h5>
  716.                                         {{ pimcore_render_nav(leftNav, 'menu', 'renderMenu', {
  717.                                             ulClass: 'nav bs-sidenav',
  718.                                             expandSiblingNodesOfActiveBranch: true,
  719.                                         }) }}
  720.                                     </div>
  721.                                     {{ pimcore_inc(document.getProperty('sidebar')) }}
  722.                                 </div>
  723.                             </div>
  724.                         {% endif %}
  725.                     </div>
  726.                 </div>
  727.             {% endif %}
  728.             <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\">
  729.                 <span class=\"fa fa-arrow-up\"></span>
  730.             </a>
  731.         </main>
  732.         {# include a document-snippet - in this case the footer document #}
  733.         {{ pimcore_inc(document.getProperty('footer')) }}
  734.         {# output scripts added before #}
  735.         {% block headscripts deferred %}
  736.             {{ pimcore_head_script() }}
  737.         {% endblock %}
  738.         {% block inlinescripts deferred %}
  739.             {{ pimcore_inline_script() }}
  740.         {% endblock %}
  741.     </body>
  742. </html>""layouts/layout.html.twig""/opt/bitnami/pimcore/templates/layouts/layout.html.twig");
  743.     }
  744. }