var/cache/dev/twig/8d/8d0198fda7c273e2d0579a6b34314143aa795d04abf58b30bc0f8bdb5a5aaa80.php line 51

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. /* @theme/templates/cmspage-standard.html.twig */
  14. class __TwigTemplate_265a4ae0cdb75173356039f6a484e5d13496c4b0a7aca106a7b5e7ecdabf170c extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'metatitle' => [$this'block_metatitle'],
  24.             'metadescription' => [$this'block_metadescription'],
  25.             'body' => [$this'block_body'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@theme/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-standard.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-standard.html.twig"));
  41.         $this->parent $this->loadTemplate("@theme/base.html.twig""@theme/templates/cmspage-standard.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 2
  49.     public function block_metatitle($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatitle"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatitle"));
  56.         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.'2$this->source); })()), "metatitle", [], "any"falsefalsefalse2), "html"nulltrue);
  57.         
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  59.         
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  61.     }
  62.     // line 3
  63.     public function block_metadescription($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  70.         echo twig_escape_filter($this->envtwig_slice($this->envstrip_tags(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'3$this->source); })()), "metadescription", [], "any"falsefalsefalse3)), 0160), "html"nulltrue);
  71.         
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  73.         
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  75.     }
  76.     // line 5
  77.     public function block_body($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  84.         // line 6
  85.         echo "
  86. <div class=\"header-block\">
  87.     <div class=\"contact-details\">
  88.         ";
  89.         // line 9
  90.         echo call_user_func_array($this->env->getFunction('forceRenderPcgcHtmlBlock')->getCallable(), ["Contact Details"]);
  91.         echo "
  92.     </div>
  93. </div>
  94. <div class=\"container\">
  95.     <div class=\"row\">
  96.         <div class=\"col-12 breadcrumbs\">
  97.             ";
  98.         // line 16
  99.         echo twig_escape_filter($this->envcall_user_func_array($this->env->getFunction('breadcrumbs')->getCallable(), [(isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'16$this->source); })()), call_user_func_array($this->env->getFunction('domCheckIgnore')->getCallable(), [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.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "pathinfo", [], "any"falsefalsefalse16)])]), "html"nulltrue);
  100.         echo "
  101.         </div>
  102.     </div>
  103.     <div class=\"row\">
  104.         <div class=\"col-12\">
  105.              <h1>";
  106.         // line 21
  107.         echo call_user_func_array($this->env->getFunction('allowInlineEditor')->getCallable(), [(isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'21$this->source); })()), "title"]);
  108.         echo "</h1>
  109.         </div>
  110.     </div>
  111.     <div class=\"row cms-area\">
  112.         <div class=\"col-12\">
  113.             ";
  114.         // line 26
  115.         echo call_user_func_array($this->env->getFunction('renderPcgcComponents')->getCallable(), ["Before Content", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'26$this->source); })())]);
  116.         echo "
  117.             ";
  118.         // line 27
  119.         echo call_user_func_array($this->env->getFunction('allowInlineEditor')->getCallable(), [(isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'27$this->source); })()), "content"]);
  120.         echo "
  121.             ";
  122.         // line 28
  123.         echo call_user_func_array($this->env->getFunction('renderPcgcComponents')->getCallable(), ["After Content", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'28$this->source); })())]);
  124.         echo "
  125.         </div>
  126.     </div>
  127. </div>
  128. ";
  129.         
  130.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  131.         
  132.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  133.     }
  134.     // line 35
  135.     public function block_stylesheets($context, array $blocks = [])
  136.     {
  137.         $macros $this->macros;
  138.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  139.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  140.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  141.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  142.         
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  144.         
  145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  146.     }
  147.     public function getTemplateName()
  148.     {
  149.         return "@theme/templates/cmspage-standard.html.twig";
  150.     }
  151.     public function isTraitable()
  152.     {
  153.         return false;
  154.     }
  155.     public function getDebugInfo()
  156.     {
  157.         return array (  164 => 35,  148 => 28,  144 => 27,  140 => 26,  132 => 21,  124 => 16,  114 => 9,  109 => 6,  99 => 5,  80 => 3,  61 => 2,  38 => 1,);
  158.     }
  159.     public function getSourceContext()
  160.     {
  161.         return new Source("{% extends '@theme/base.html.twig' %}
  162. {% block metatitle %}{{page.metatitle}}{% endblock %}
  163. {% block metadescription %}{{page.metadescription|striptags|slice(0, 160)}}{% endblock %}
  164. {% block body %}
  165. <div class=\"header-block\">
  166.     <div class=\"contact-details\">
  167.         {{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
  168.     </div>
  169. </div>
  170. <div class=\"container\">
  171.     <div class=\"row\">
  172.         <div class=\"col-12 breadcrumbs\">
  173.             {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }}
  174.         </div>
  175.     </div>
  176.     <div class=\"row\">
  177.         <div class=\"col-12\">
  178.              <h1>{{ allowInlineEditor(page, 'title')|raw }}</h1>
  179.         </div>
  180.     </div>
  181.     <div class=\"row cms-area\">
  182.         <div class=\"col-12\">
  183.             {{ renderPcgcComponents('Before Content', pageComponents)|raw }}
  184.             {{ allowInlineEditor(page, 'content')|raw }}
  185.             {{ renderPcgcComponents('After Content', pageComponents)|raw }}
  186.         </div>
  187.     </div>
  188. </div>
  189. {% endblock %}
  190. {% block stylesheets %}
  191. {% endblock %}
  192. ""@theme/templates/cmspage-standard.html.twig""/var/www/html/t/tlbcms/templates/themes/theme/templates/cmspage-standard.html.twig");
  193.     }
  194. }