var/cache/dev/twig/5e/5ecae52c07f74bbaa8b737a43c30691f87c437d46cf12163ba9dff1d55376ce1.php line 65

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. /* Pages/ContentPage/pagetemplate.html.twig */
  14. class __TwigTemplate_cb67f31a2b766d796e19215984344ffc4fbdb227c8f56778bb494a33cb0a5a23 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'breadcrumbs' => [$this'block_breadcrumbs'],
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Pages/ContentPage/pagetemplate.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Pages/ContentPage/pagetemplate.html.twig"));
  34.         // line 1
  35.         echo "<div class=\"content-page\">
  36.     ";
  37.         // line 4
  38.         echo "    ";
  39.         $this->loadTemplate("Layout/_page-header.html.twig""Pages/ContentPage/pagetemplate.html.twig"4)->display(twig_array_merge($context, ["page" => (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'4$this->source); })())]));
  40.         // line 5
  41.         echo "
  42.     ";
  43.         // line 7
  44.         echo "    ";
  45.         $this->displayBlock('breadcrumbs'$context$blocks);
  46.         // line 10
  47.         echo "
  48.     <div class=\"content\">
  49.         <h1 role=\"heading\" aria-level=\"1\">";
  50.         // line 12
  51.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'12$this->source); })()), "pageTitle", [], "any"falsefalsefalse12), "html"nulltrue);
  52.         echo "</h1>
  53.         ";
  54.         // line 13
  55.         echo $this->extensions['Kunstmaan\PagePartBundle\Twig\Extension\PagePartTwigExtension']->renderPageParts($this->env$context, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'13$this->source); })()), "main");
  56.         echo "
  57.     </div>
  58. </div>
  59. ";
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.         
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  64.     }
  65.     // line 7
  66.     public function block_breadcrumbs($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  73.         // line 8
  74.         echo "        ";
  75.         $this->loadTemplate("Layout/_breadcrumbs.html.twig""Pages/ContentPage/pagetemplate.html.twig"8)->display(twig_array_merge($context, ["refererString" => twig_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.'8$this->source); })()), "request", [], "any"falsefalsefalse8), "get", [=> "path"], "method"falsefalsefalse8)]));
  76.         // line 9
  77.         echo "    ";
  78.         
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  80.         
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  82.     }
  83.     public function getTemplateName()
  84.     {
  85.         return "Pages/ContentPage/pagetemplate.html.twig";
  86.     }
  87.     public function isTraitable()
  88.     {
  89.         return false;
  90.     }
  91.     public function getDebugInfo()
  92.     {
  93.         return array (  93 => 9,  90 => 8,  80 => 7,  65 => 13,  61 => 12,  57 => 10,  54 => 7,  51 => 5,  48 => 4,  44 => 1,);
  94.     }
  95.     public function getSourceContext()
  96.     {
  97.         return new Source("<div class=\"content-page\">
  98.     {# Page Header #}
  99.     {% include 'Layout/_page-header.html.twig' with { 'page' : page } %}
  100.     {# Breadcrumbs #}
  101.     {% block breadcrumbs %}
  102.         {% include 'Layout/_breadcrumbs.html.twig' with { 'refererString' : app.request.get('path') } %}
  103.     {% endblock %}
  104.     <div class=\"content\">
  105.         <h1 role=\"heading\" aria-level=\"1\">{{ page.pageTitle }}</h1>
  106.         {{ render_pageparts(page, 'main') }}
  107.     </div>
  108. </div>
  109. ""Pages/ContentPage/pagetemplate.html.twig""/var/www/gcs/html/dev/templates/Pages/ContentPage/pagetemplate.html.twig");
  110.     }
  111. }