<?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 79
yield " ";
}
// line 80
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.', 80, $this->source); })()), "content2", [], "any", false, false, false, 80)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 81
yield " <section class=\"py-16 cms-area\">
<div class=\"container lg:grid lg:grid-cols-12\">
<div class=\"flex flex-col gap-4 lg:col-span-8 lg:col-start-3\">
";
// line 84
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.', 84, $this->source); })()), "content2", [], "any", false, false, false, 84)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 85
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.', 85, $this->source); })()), "content2");
yield "
";
}
// line 87
yield " </div>
</div>
</section>
";
}
// line 91
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.', 91, $this->source); })()), "content3", [], "any", false, false, false, 91) || 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.', 91, $this->source); })()), "landingPageBlocks", [], "any", false, false, false, 91))) {
// line 92
yield " <section class=\"landing-page-blocks\">
";
// line 93
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.', 93, $this->source); })()), "content3", [], "any", false, false, false, 93)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 94
yield " <div class=\"container flex flex-col gap-4 landing-page-blocks__content\">
";
// line 95
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.', 95, $this->source); })()), "content3");
yield "
</div>
";
}
// line 98
yield " ";
yield from $this->load("@theme/landing_page_blocks/index.html.twig", 98)->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.', 98, $this->source); })()), "landingPageBlocks", [], "any", false, false, false, 98)]));
// line 99
yield " </section>
";
}
// line 101
yield "
";
// line 103
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.', 103, $this->source); })()));
yield "
";
// line 104
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.', 104, $this->source); })()));
yield "
";
// line 105
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.', 105, $this->source); })()), "testimonial", [], "any", false, false, false, 105)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 106
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.', 106, $this->source); })()), "testimonial", [], "any", false, false, false, 106)]);
yield "
";
}
// line 108
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.', 108, $this->source); })()));
yield "
";
// line 109
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.', 109, $this->source); })()));
yield "
";
// line 110
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.', 110, $this->source); })()), "id", [], "any", false, false, false, 110) == 6)) {
// line 111
yield " ";
// line 112
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 116
/**
* @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 ( 360 => 116, 345 => 112, 343 => 111, 341 => 110, 337 => 109, 332 => 108, 326 => 106, 324 => 105, 320 => 104, 315 => 103, 312 => 101, 308 => 99, 305 => 98, 299 => 95, 296 => 94, 294 => 93, 291 => 92, 288 => 91, 282 => 87, 276 => 85, 274 => 84, 269 => 81, 266 => 80, 263 => 79, 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 buttons %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
{% endif %}
{% endblock %}
{% endcomponent %}
{% endif %}
{% if page.content2 %}
<section class=\"py-16 cms-area\">
<div class=\"container lg:grid lg:grid-cols-12\">
<div class=\"flex flex-col gap-4 lg:col-span-8 lg:col-start-3\">
{% if page.content2 %}
{{ allowInlineEditor(page, 'content2')|raw }}
{% endif %}
</div>
</div>
</section>
{% endif %}
{% if page.content3 or page.landingPageBlocks %}
<section class=\"landing-page-blocks\">
{% if page.content3 %}
<div class=\"container flex flex-col gap-4 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 ( 595 => 65, 552 => 64, 360 => 116, 345 => 112, 343 => 111, 341 => 110, 337 => 109, 332 => 108, 326 => 106, 324 => 105, 320 => 104, 315 => 103, 312 => 101, 308 => 99, 305 => 98, 299 => 95, 296 => 94, 294 => 93, 291 => 92, 288 => 91, 282 => 87, 276 => 85, 274 => 84, 269 => 81, 266 => 80, 263 => 79, 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 buttons %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
{% endif %}
{% endblock %}
{% endcomponent %}
{% endif %}
{% if page.content2 %}
<section class=\"py-16 cms-area\">
<div class=\"container lg:grid lg:grid-cols-12\">
<div class=\"flex flex-col gap-4 lg:col-span-8 lg:col-start-3\">
{% if page.content2 %}
{{ allowInlineEditor(page, 'content2')|raw }}
{% endif %}
</div>
</div>
</section>
{% endif %}
{% if page.content3 or page.landingPageBlocks %}
<section class=\"landing-page-blocks\">
{% if page.content3 %}
<div class=\"container flex flex-col gap-4 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'],
'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_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 74
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.', 74, $this->source); })()), "ctaText", [], "any", false, false, false, 74) && 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); })()), "ctaLink", [], "any", false, false, false, 74))) {
// line 75
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.', 75, $this->source); })()), "ctaLink", [], "any", false, false, false, 75), "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.', 75, $this->source); })()), "ctaText", [], "any", false, false, false, 75), "html", null, true);
yield "</a>
";
}
// line 77
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 => 77, 878 => 75, 875 => 74, 862 => 73, 837 => 72, 794 => 71, 595 => 65, 552 => 64, 360 => 116, 345 => 112, 343 => 111, 341 => 110, 337 => 109, 332 => 108, 326 => 106, 324 => 105, 320 => 104, 315 => 103, 312 => 101, 308 => 99, 305 => 98, 299 => 95, 296 => 94, 294 => 93, 291 => 92, 288 => 91, 282 => 87, 276 => 85, 274 => 84, 269 => 81, 266 => 80, 263 => 79, 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 buttons %}
{% if page.ctaText and page.ctaLink %}
<a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
{% endif %}
{% endblock %}
{% endcomponent %}
{% endif %}
{% if page.content2 %}
<section class=\"py-16 cms-area\">
<div class=\"container lg:grid lg:grid-cols-12\">
<div class=\"flex flex-col gap-4 lg:col-span-8 lg:col-start-3\">
{% if page.content2 %}
{{ allowInlineEditor(page, 'content2')|raw }}
{% endif %}
</div>
</div>
</section>
{% endif %}
{% if page.content3 or page.landingPageBlocks %}
<section class=\"landing-page-blocks\">
{% if page.content3 %}
<div class=\"container flex flex-col gap-4 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");
}
}