var/cache/dev/twig/92/926a75ae6974ba90b5fb2b29f9a6b7a7.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-contact.html.twig */
  14. class __TwigTemplate_c97b75f41d9f371e3584d0cf1d447dbb 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->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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-contact.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-contact.html.twig"));
  41.         $this->parent $this->loadTemplate("@theme/base.html.twig""@theme/templates/cmspage-contact.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 2
  49.     public function block_metatitle($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatitle"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.     }
  62.     // line 3
  63.     public function block_metadescription($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  70.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_striptags(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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.         
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75.     }
  76.     // line 5
  77.     public function block_body($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  84.         // line 6
  85.         echo "
  86.     <script type=\"application/ld+json\">
  87.         {
  88.             \"@context\": \"https://schema.org\",
  89.             \"@type\": \"LocalBusiness\",
  90.             \"name\": \"";
  91.         // line 11
  92.         echo twig_escape_filter($this->env, (isset($context["sitename"]) || array_key_exists("sitename"$context) ? $context["sitename"] : (function () { throw new RuntimeError('Variable "sitename" does not exist.'11$this->source); })()), "html"nulltrue);
  93.         echo "\",
  94.             \"telephone\": \"";
  95.         // line 12
  96.         echo $this->env->getFunction('renderSetting')->getCallable()(2"content");
  97.         echo "\",
  98.             \"email\": \"";
  99.         // line 13
  100.         echo $this->env->getFunction('renderSetting')->getCallable()(3"content");
  101.         echo "\",
  102.             \"address\": {
  103.                 \"@type\": \"PostalAddress\",
  104.                 \"streetAddress\": \"42 Readmans Industrial Estate\",
  105.                 \"addressLocality\": \"East Tilbury\",
  106.                 \"addressRegion\": \"Essex\",
  107.                 \"postalCode\": \"RM18 8QR\",
  108.                 \"addressCountry\": \"GB\"
  109.             },
  110.             \"geo\": {
  111.                 \"@type\": \"GeoCoordinates\",
  112.                 \"latitude\": \"";
  113.         // line 24
  114.         echo $this->env->getFunction('renderSetting')->getCallable()(4"content");
  115.         echo "\",
  116.                 \"longitude\": \"";
  117.         // line 25
  118.         echo $this->env->getFunction('renderSetting')->getCallable()(5"content");
  119.         echo "\"
  120.             },
  121.             \"contactPoint\": {
  122.                 \"@type\": \"ContactPoint\",
  123.                 \"contactType\": \"Customer Service\",
  124.                 \"telephone\": \"";
  125.         // line 30
  126.         echo $this->env->getFunction('renderSetting')->getCallable()(2"content");
  127.         echo "\",
  128.                 \"areaServed\": \"GB\"
  129.             }
  130.         }
  131.     </script>
  132.     <section class=\"pt-[148px] md:pt-[163px]\">
  133.         <h1 class=\"sr-only\">";
  134.         // line 37
  135.         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.'37$this->source); })()), "title", [], "any"falsefalsefalse37), "html"nulltrue);
  136.         echo "</h1>
  137.         ";
  138.         // line 38
  139.         echo $this->env->getFunction('renderComponents')->getCallable()("Enquiry Form", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'38$this->source); })()));
  140.         echo "
  141.     </section>
  142. ";
  143.         
  144.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  145.         
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  147.     }
  148.     // line 43
  149.     public function block_stylesheets($context, array $blocks = [])
  150.     {
  151.         $macros $this->macros;
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  153.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  154.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  155.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  156.         
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  158.         
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  160.     }
  161.     /**
  162.      * @codeCoverageIgnore
  163.      */
  164.     public function getTemplateName()
  165.     {
  166.         return "@theme/templates/cmspage-contact.html.twig";
  167.     }
  168.     /**
  169.      * @codeCoverageIgnore
  170.      */
  171.     public function isTraitable()
  172.     {
  173.         return false;
  174.     }
  175.     /**
  176.      * @codeCoverageIgnore
  177.      */
  178.     public function getDebugInfo()
  179.     {
  180.         return array (  178 => 43,  164 => 38,  160 => 37,  150 => 30,  142 => 25,  138 => 24,  124 => 13,  120 => 12,  116 => 11,  109 => 6,  99 => 5,  80 => 3,  61 => 2,  38 => 1,);
  181.     }
  182.     public function getSourceContext()
  183.     {
  184.         return new Source("{% extends '@theme/base.html.twig' %}
  185. {% block metatitle %}{{page.metatitle}}{% endblock %}
  186. {% block metadescription %}{{page.metadescription|striptags|slice(0, 160)}}{% endblock %}
  187. {% block body %}
  188.     <script type=\"application/ld+json\">
  189.         {
  190.             \"@context\": \"https://schema.org\",
  191.             \"@type\": \"LocalBusiness\",
  192.             \"name\": \"{{ sitename }}\",
  193.             \"telephone\": \"{{ renderSetting(2, 'content') }}\",
  194.             \"email\": \"{{ renderSetting(3, 'content') }}\",
  195.             \"address\": {
  196.                 \"@type\": \"PostalAddress\",
  197.                 \"streetAddress\": \"42 Readmans Industrial Estate\",
  198.                 \"addressLocality\": \"East Tilbury\",
  199.                 \"addressRegion\": \"Essex\",
  200.                 \"postalCode\": \"RM18 8QR\",
  201.                 \"addressCountry\": \"GB\"
  202.             },
  203.             \"geo\": {
  204.                 \"@type\": \"GeoCoordinates\",
  205.                 \"latitude\": \"{{ renderSetting(4, 'content') }}\",
  206.                 \"longitude\": \"{{ renderSetting(5, 'content') }}\"
  207.             },
  208.             \"contactPoint\": {
  209.                 \"@type\": \"ContactPoint\",
  210.                 \"contactType\": \"Customer Service\",
  211.                 \"telephone\": \"{{ renderSetting(2, 'content') }}\",
  212.                 \"areaServed\": \"GB\"
  213.             }
  214.         }
  215.     </script>
  216.     <section class=\"pt-[148px] md:pt-[163px]\">
  217.         <h1 class=\"sr-only\">{{ page.title }}</h1>
  218.         {{ renderComponents('Enquiry Form', pageComponents)|raw }}
  219.     </section>
  220. {% endblock %}
  221. {% block stylesheets %}{% endblock %}
  222. ""@theme/templates/cmspage-contact.html.twig""/var/www/html/k/kasscaffolding/templates/themes/theme/templates/cmspage-contact.html.twig");
  223.     }
  224. }