<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* @theme/templates/cmspage-standard.html.twig */
class __TwigTemplate_7157c81709f2ca492c6b84593e916fac extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'metatitle' => [$this, 'block_metatitle'],
'metadescription' => [$this, 'block_metadescription'],
'body' => [$this, 'block_body'],
'stylesheets' => [$this, 'block_stylesheets'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@theme/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/templates/cmspage-standard.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/templates/cmspage-standard.html.twig"));
$this->parent = $this->load("@theme/base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metatitle(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatitle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatitle"));
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($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", false, false, false, 2), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metadescription(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metadescription"));
// line 4
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 4, $this->source); })()), "metadescription", [], "any", false, false, false, 4)), 0, 160), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 7
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 8
yield "
";
// line 9
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 9, $this->source); })()), "id", [], "any", false, false, false, 9) == 6)) {
// line 10
yield " <script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AboutPage\",
\"name\": \"";
// line 14
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 14, $this->source); })()), "metatitle", [], "any", false, false, false, 14), "html", null, true);
yield "\",
\"url\": \"";
// line 15
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["siteurl"]) || array_key_exists("siteurl", $context) ? $context["siteurl"] : (function () { throw new RuntimeError('Variable "siteurl" does not exist.', 15, $this->source); })()), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "attributes", [], "any", false, false, false, 15), "get", ["_route"], "method", false, false, false, 15), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "attributes", [], "any", false, false, false, 15), "get", ["_route_params"], "method", false, false, false, 15)), "html", null, true);
yield "\",
\"mainEntity\": {
\"@type\": \"LocalBusiness\",
\"name\": \"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["sitename"]) || array_key_exists("sitename", $context) ? $context["sitename"] : (function () { throw new RuntimeError('Variable "sitename" does not exist.', 18, $this->source); })()), "html", null, true);
yield "\",
\"description\": \"";
// line 19
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 19, $this->source); })()), "metadescription", [], "any", false, false, false, 19)), 0, 160), "html", null, true);
yield "\",
\"url\": \"";
// line 20
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["siteurl"]) || array_key_exists("siteurl", $context) ? $context["siteurl"] : (function () { throw new RuntimeError('Variable "siteurl" does not exist.', 20, $this->source); })()), "html", null, true);
yield "\",
\"logo\": {
\"@type\": \"ImageObject\",
\"url\": \"";
// line 23
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["siteurl"]) || array_key_exists("siteurl", $context) ? $context["siteurl"] : (function () { throw new RuntimeError('Variable "siteurl" does not exist.', 23, $this->source); })()), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.png"), "cropResize", 560, 120), "html", null, true);
yield "\",
\"width\": 560,
\"height\": 120
},
\"telephone\": \"";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(2, "content")), "html", null, true);
yield "\",
\"email\": \"";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(3, "content")), "html", null, true);
yield "\",
\"areaServed\": [
{
\"@type\": \"Place\",
\"name\": \"London\"
},
{
\"@type\": \"Place\",
\"name\": \"Sheffield\"
},
{
\"@type\": \"Place\",
\"name\": \"Leeds\"
},
{
\"@type\": \"Place\",
\"name\": \"Manchester\"
},
{
\"@type\": \"Place\",
\"name\": \"Nottingham\"
}
],
\"sameAs\": [
\"";
// line 52
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(4, "content")), "html", null, true);
yield "\",
\"";
// line 53
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(5, "content")), "html", null, true);
yield "\",
\"";
// line 54
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags($this->env->getFunction('renderSetting')->getCallable()(6, "content")), "html", null, true);
yield "\"
]
}
}
</script>
";
}
// line 60
yield "
";
// line 61
$context["pagetitle"] = (((($tmp = $this->env->getFunction('replaceIfComponentDataExists')->getCallable()((isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 61, $this->source); })()), "title")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->env->getFunction('replaceIfComponentDataExists')->getCallable()((isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 61, $this->source); })()), "title")) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 61, $this->source); })()), "title", [], "any", false, false, false, 61)));
// line 62
yield " ";
$context["subtitle"] = (((($tmp = $this->env->getFunction('replaceIfComponentDataExists')->getCallable()((isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 62, $this->source); })()), "subtitle")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->env->getFunction('replaceIfComponentDataExists')->getCallable()((isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 62, $this->source); })()), "subtitle")) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 62, $this->source); })()), "subtitle", [], "any", false, false, false, 62)));
// line 63
yield "
";
// line 64
$_v0 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
$preRendered = $_v0->preRender("PageHero", Twig\Extension\CoreExtension::toArray(["page" => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 64, $this->source); })()), "title" => (isset($context["pagetitle"]) || array_key_exists("pagetitle", $context) ? $context["pagetitle"] : (function () { throw new RuntimeError('Variable "pagetitle" does not exist.', 64, $this->source); })()), "subtitle" => (isset($context["subtitle"]) || array_key_exists("subtitle", $context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.', 64, $this->source); })())]));
if (null !== $preRendered) {
yield $preRendered;
} else {
$preRenderEvent = $_v0->startEmbedComponent("PageHero", Twig\Extension\CoreExtension::toArray(["page" => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 64, $this->source); })()), "title" => (isset($context["pagetitle"]) || array_key_exists("pagetitle", $context) ? $context["pagetitle"] : (function () { throw new RuntimeError('Variable "pagetitle" does not exist.', 64, $this->source); })()), "subtitle" => (isset($context["subtitle"]) || array_key_exists("subtitle", $context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.', 64, $this->source); })())]), $context, "@theme/templates/cmspage-standard.html.twig", 12412021591);
$embeddedContext = $preRenderEvent->getVariables();
$embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
$embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
$embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 12412021591);
$this->load("@theme/templates/cmspage-standard.html.twig", 64, "12412021591")->display($embeddedContext, $embeddedBlocks);
$_v0->finishEmbedComponent();
}
// line 69
yield "
";
// line 70
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 70, $this->source); })()), "content", [], "any", false, false, false, 70)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 71
yield " ";
$_v1 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
$preRendered = $_v1->preRender("PageMainContent", Twig\Extension\CoreExtension::toArray(["image" => (((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 71, $this->source); })()), "image", [], "any", false, false, false, 71)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 71, $this->source); })()), "getFullImagePath", [], "any", false, false, false, 71))) : (null))]));
if (null !== $preRendered) {
yield $preRendered;
} else {
$preRenderEvent = $_v1->startEmbedComponent("PageMainContent", Twig\Extension\CoreExtension::toArray(["image" => (((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 71, $this->source); })()), "image", [], "any", false, false, false, 71)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 71, $this->source); })()), "getFullImagePath", [], "any", false, false, false, 71))) : (null))]), $context, "@theme/templates/cmspage-standard.html.twig", 5459784011);
$embeddedContext = $preRenderEvent->getVariables();
$embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
$embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
$embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 5459784011);
$this->load("@theme/templates/cmspage-standard.html.twig", 71, "5459784011")->display($embeddedContext, $embeddedBlocks);
$_v1->finishEmbedComponent();
}
// line 84
yield " ";
}
// line 85
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 85, $this->source); })()), "content3", [], "any", false, false, false, 85) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 85, $this->source); })()), "landingPageBlocks", [], "any", false, false, false, 85))) {
// line 86
yield " <section class=\"landing-page-blocks\">
";
// line 87
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 87, $this->source); })()), "content3", [], "any", false, false, false, 87)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 88
yield " <div class=\"container landing-page-blocks__content\">
";
// line 89
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 89, $this->source); })()), "content3");
yield "
</div>
";
}
// line 92
yield " ";
yield from $this->load("@theme/landing_page_blocks/index.html.twig", 92)->unwrap()->yield(CoreExtension::merge($context, ["blocks" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 92, $this->source); })()), "landingPageBlocks", [], "any", false, false, false, 92)]));
// line 93
yield " </section>
";
}
// line 95
yield "
";
// line 97
yield " ";
yield $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.', 97, $this->source); })()));
yield "
";
// line 98
yield $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.', 98, $this->source); })()));
yield "
";
// line 99
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 99, $this->source); })()), "testimonial", [], "any", false, false, false, 99)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 100
yield " ";
yield $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("SingleTestimonial", ["testimonial" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 100, $this->source); })()), "testimonial", [], "any", false, false, false, 100)]);
yield "
";
}
// line 102
yield " ";
yield $this->env->getFunction('renderPcgcComponents')->getCallable()("Contact Form", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 102, $this->source); })()));
yield "
";
// line 103
yield $this->env->getFunction('renderPcgcComponents')->getCallable()("Before Footer", (isset($context["pageComponents"]) || array_key_exists("pageComponents", $context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.', 103, $this->source); })()));
yield "
";
// line 104
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 104, $this->source); })()), "id", [], "any", false, false, false, 104) == 6)) {
// line 105
yield " ";
// line 106
yield " ";
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\WisdomController::index"));
yield "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 110
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@theme/templates/cmspage-standard.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 338 => 110, 323 => 106, 321 => 105, 319 => 104, 315 => 103, 310 => 102, 304 => 100, 302 => 99, 298 => 98, 293 => 97, 290 => 95, 286 => 93, 283 => 92, 277 => 89, 274 => 88, 272 => 87, 269 => 86, 266 => 85, 263 => 84, 248 => 71, 246 => 70, 243 => 69, 229 => 64, 226 => 63, 223 => 62, 221 => 61, 218 => 60, 209 => 54, 205 => 53, 201 => 52, 174 => 28, 170 => 27, 162 => 23, 156 => 20, 152 => 19, 148 => 18, 141 => 15, 137 => 14, 131 => 10, 129 => 9, 126 => 8, 113 => 7, 102 => 4, 89 => 3, 66 => 2, 43 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@theme/base.html.twig' %}
{% block metatitle %}{{ page.metatitle }}{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock %}
{% block body %}
{% if page.id == 6 %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AboutPage\",
\"name\": \"{{ page.metatitle }}\",
\"url\": \"{{ siteurl }}{{ path(app.request.attributes.get('_route'),app.request.attributes.get('_route_params')) }}\",
\"mainEntity\": {
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
\"url\": \"{{ siteurl }}\",
\"logo\": {
\"@type\": \"ImageObject\",
\"url\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
\"width\": 560,
\"height\": 120
},
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
\"areaServed\": [
{
\"@type\": \"Place\",
\"name\": \"London\"
},
{
\"@type\": \"Place\",
\"name\": \"Sheffield\"
},
{
\"@type\": \"Place\",
\"name\": \"Leeds\"
},
{
\"@type\": \"Place\",
\"name\": \"Manchester\"
},
{
\"@type\": \"Place\",
\"name\": \"Nottingham\"
}
],
\"sameAs\": [
\"{{ renderSetting(4, 'content')|striptags }}\",
\"{{ renderSetting(5, 'content')|striptags }}\",
\"{{ renderSetting(6, 'content')|striptags }}\"
]
}
}
</script>
{% endif %}
{% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
{% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
{% component 'PageHero' with { page: page, title: pagetitle, subtitle: subtitle } %}
{% block content %}<a href=\"{{ path('router', { slug: 'contact' }) }}\" class=\"button\"
>How can we help you today?</a
>
{% endblock %}{% endcomponent %}
{% if page.content %}
{% component 'PageMainContent' with { image: (page.image ? '/' ~ page.getFullImagePath : null) } %}
{% block content %}{{ allowInlineEditor(page, 'content')|raw }}
{% endblock %}{% block content2 %}
{% if page.content2 %}
{{ allowInlineEditor(page, 'content2')|raw }}
{% endif %}
{% endblock %}
{% block buttons %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
{% endif %}
{% endblock %}
{% endcomponent %}
{% endif %}
{% if page.content3 or page.landingPageBlocks %}
<section class=\"landing-page-blocks\">
{% if page.content3 %}
<div class=\"container landing-page-blocks__content\">
{{ allowInlineEditor(page, 'content3')|raw }}
</div>
{% endif %}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
</section>
{% endif %}
{# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
{{ renderPcgcComponents('Before Content', pageComponents)|raw }}
{{ renderPcgcComponents('After Content', pageComponents)|raw }}
{% if page.testimonial %}
{{ component('SingleTestimonial', { testimonial: page.testimonial }) }}
{% endif %}
{{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
{{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
{% if page.id == 6 %}
{# About page #}
{{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
{% endif %}
{% endblock %}
{% block stylesheets %}{% endblock %}
", "@theme/templates/cmspage-standard.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-standard.html.twig");
}
}
/* @theme/templates/cmspage-standard.html.twig */
class __TwigTemplate_7157c81709f2ca492c6b84593e916fac___12412021591 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 64
return $this->load((isset($context["__parent__"]) || array_key_exists("__parent__", $context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.', 64, $this->source); })()), 64);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/templates/cmspage-standard.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/templates/cmspage-standard.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_outer__block_fallback(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 65
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
yield "<a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("router", ["slug" => "contact"]);
yield "\" class=\"button\"
>How can we help you today?</a
>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@theme/templates/cmspage-standard.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 567 => 65, 524 => 64, 338 => 110, 323 => 106, 321 => 105, 319 => 104, 315 => 103, 310 => 102, 304 => 100, 302 => 99, 298 => 98, 293 => 97, 290 => 95, 286 => 93, 283 => 92, 277 => 89, 274 => 88, 272 => 87, 269 => 86, 266 => 85, 263 => 84, 248 => 71, 246 => 70, 243 => 69, 229 => 64, 226 => 63, 223 => 62, 221 => 61, 218 => 60, 209 => 54, 205 => 53, 201 => 52, 174 => 28, 170 => 27, 162 => 23, 156 => 20, 152 => 19, 148 => 18, 141 => 15, 137 => 14, 131 => 10, 129 => 9, 126 => 8, 113 => 7, 102 => 4, 89 => 3, 66 => 2, 43 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@theme/base.html.twig' %}
{% block metatitle %}{{ page.metatitle }}{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock %}
{% block body %}
{% if page.id == 6 %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AboutPage\",
\"name\": \"{{ page.metatitle }}\",
\"url\": \"{{ siteurl }}{{ path(app.request.attributes.get('_route'),app.request.attributes.get('_route_params')) }}\",
\"mainEntity\": {
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
\"url\": \"{{ siteurl }}\",
\"logo\": {
\"@type\": \"ImageObject\",
\"url\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
\"width\": 560,
\"height\": 120
},
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
\"areaServed\": [
{
\"@type\": \"Place\",
\"name\": \"London\"
},
{
\"@type\": \"Place\",
\"name\": \"Sheffield\"
},
{
\"@type\": \"Place\",
\"name\": \"Leeds\"
},
{
\"@type\": \"Place\",
\"name\": \"Manchester\"
},
{
\"@type\": \"Place\",
\"name\": \"Nottingham\"
}
],
\"sameAs\": [
\"{{ renderSetting(4, 'content')|striptags }}\",
\"{{ renderSetting(5, 'content')|striptags }}\",
\"{{ renderSetting(6, 'content')|striptags }}\"
]
}
}
</script>
{% endif %}
{% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
{% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
{% component 'PageHero' with { page: page, title: pagetitle, subtitle: subtitle } %}
{% block content %}<a href=\"{{ path('router', { slug: 'contact' }) }}\" class=\"button\"
>How can we help you today?</a
>
{% endblock %}{% endcomponent %}
{% if page.content %}
{% component 'PageMainContent' with { image: (page.image ? '/' ~ page.getFullImagePath : null) } %}
{% block content %}{{ allowInlineEditor(page, 'content')|raw }}
{% endblock %}{% block content2 %}
{% if page.content2 %}
{{ allowInlineEditor(page, 'content2')|raw }}
{% endif %}
{% endblock %}
{% block buttons %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
{% endif %}
{% endblock %}
{% endcomponent %}
{% endif %}
{% if page.content3 or page.landingPageBlocks %}
<section class=\"landing-page-blocks\">
{% if page.content3 %}
<div class=\"container landing-page-blocks__content\">
{{ allowInlineEditor(page, 'content3')|raw }}
</div>
{% endif %}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
</section>
{% endif %}
{# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
{{ renderPcgcComponents('Before Content', pageComponents)|raw }}
{{ renderPcgcComponents('After Content', pageComponents)|raw }}
{% if page.testimonial %}
{{ component('SingleTestimonial', { testimonial: page.testimonial }) }}
{% endif %}
{{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
{{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
{% if page.id == 6 %}
{# About page #}
{{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
{% endif %}
{% endblock %}
{% block stylesheets %}{% endblock %}
", "@theme/templates/cmspage-standard.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-standard.html.twig");
}
}
/* @theme/templates/cmspage-standard.html.twig */
class __TwigTemplate_7157c81709f2ca492c6b84593e916fac___5459784011 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
'content' => [$this, 'block_content'],
'content2' => [$this, 'block_content2'],
'buttons' => [$this, 'block_buttons'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 71
return $this->load((isset($context["__parent__"]) || array_key_exists("__parent__", $context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.', 71, $this->source); })()), 71);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/templates/cmspage-standard.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/templates/cmspage-standard.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_outer__block_fallback(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 72
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 72, $this->source); })()), "content");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 73
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content2(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content2"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content2"));
// line 74
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 74, $this->source); })()), "content2", [], "any", false, false, false, 74)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 75
yield " ";
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 75, $this->source); })()), "content2");
yield "
";
}
// line 77
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 78
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_buttons(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "buttons"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "buttons"));
// line 79
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 79, $this->source); })()), "ctaText", [], "any", false, false, false, 79) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 79, $this->source); })()), "ctaLink", [], "any", false, false, false, 79))) {
// line 80
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 80, $this->source); })()), "ctaLink", [], "any", false, false, false, 80), "html", null, true);
yield "\" class=\"button\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 80, $this->source); })()), "ctaText", [], "any", false, false, false, 80), "html", null, true);
yield "</a>
";
}
// line 82
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@theme/templates/cmspage-standard.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 886 => 82, 878 => 80, 875 => 79, 862 => 78, 851 => 77, 845 => 75, 842 => 74, 829 => 73, 804 => 72, 761 => 71, 567 => 65, 524 => 64, 338 => 110, 323 => 106, 321 => 105, 319 => 104, 315 => 103, 310 => 102, 304 => 100, 302 => 99, 298 => 98, 293 => 97, 290 => 95, 286 => 93, 283 => 92, 277 => 89, 274 => 88, 272 => 87, 269 => 86, 266 => 85, 263 => 84, 248 => 71, 246 => 70, 243 => 69, 229 => 64, 226 => 63, 223 => 62, 221 => 61, 218 => 60, 209 => 54, 205 => 53, 201 => 52, 174 => 28, 170 => 27, 162 => 23, 156 => 20, 152 => 19, 148 => 18, 141 => 15, 137 => 14, 131 => 10, 129 => 9, 126 => 8, 113 => 7, 102 => 4, 89 => 3, 66 => 2, 43 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@theme/base.html.twig' %}
{% block metatitle %}{{ page.metatitle }}{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock %}
{% block body %}
{% if page.id == 6 %}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"AboutPage\",
\"name\": \"{{ page.metatitle }}\",
\"url\": \"{{ siteurl }}{{ path(app.request.attributes.get('_route'),app.request.attributes.get('_route_params')) }}\",
\"mainEntity\": {
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"description\": \"{{ page.metadescription|striptags|slice(0, 160) }}\",
\"url\": \"{{ siteurl }}\",
\"logo\": {
\"@type\": \"ImageObject\",
\"url\": \"{{ siteurl }}{{ imageCache(asset('build/images/logo.png'), 'cropResize', 560, 120) }}\",
\"width\": 560,
\"height\": 120
},
\"telephone\": \"{{ renderSetting(2, 'content')|striptags }}\",
\"email\": \"{{ renderSetting(3, 'content')|striptags }}\",
\"areaServed\": [
{
\"@type\": \"Place\",
\"name\": \"London\"
},
{
\"@type\": \"Place\",
\"name\": \"Sheffield\"
},
{
\"@type\": \"Place\",
\"name\": \"Leeds\"
},
{
\"@type\": \"Place\",
\"name\": \"Manchester\"
},
{
\"@type\": \"Place\",
\"name\": \"Nottingham\"
}
],
\"sameAs\": [
\"{{ renderSetting(4, 'content')|striptags }}\",
\"{{ renderSetting(5, 'content')|striptags }}\",
\"{{ renderSetting(6, 'content')|striptags }}\"
]
}
}
</script>
{% endif %}
{% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
{% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
{% component 'PageHero' with { page: page, title: pagetitle, subtitle: subtitle } %}
{% block content %}<a href=\"{{ path('router', { slug: 'contact' }) }}\" class=\"button\"
>How can we help you today?</a
>
{% endblock %}{% endcomponent %}
{% if page.content %}
{% component 'PageMainContent' with { image: (page.image ? '/' ~ page.getFullImagePath : null) } %}
{% block content %}{{ allowInlineEditor(page, 'content')|raw }}
{% endblock %}{% block content2 %}
{% if page.content2 %}
{{ allowInlineEditor(page, 'content2')|raw }}
{% endif %}
{% endblock %}
{% block buttons %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
{% endif %}
{% endblock %}
{% endcomponent %}
{% endif %}
{% if page.content3 or page.landingPageBlocks %}
<section class=\"landing-page-blocks\">
{% if page.content3 %}
<div class=\"container landing-page-blocks__content\">
{{ allowInlineEditor(page, 'content3')|raw }}
</div>
{% endif %}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
</section>
{% endif %}
{# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
{{ renderPcgcComponents('Before Content', pageComponents)|raw }}
{{ renderPcgcComponents('After Content', pageComponents)|raw }}
{% if page.testimonial %}
{{ component('SingleTestimonial', { testimonial: page.testimonial }) }}
{% endif %}
{{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
{{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
{% if page.id == 6 %}
{# About page #}
{{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
{% endif %}
{% endblock %}
{% block stylesheets %}{% endblock %}
", "@theme/templates/cmspage-standard.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-standard.html.twig");
}
}