Deprecated : Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/translation/Resources/functions.php on line 18
Deprecated : Symfony\Component\Dotenv\Dotenv::loadEnv(): Implicitly marking parameter $envKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/dotenv/Dotenv.php on line 110
Deprecated : Symfony\Component\Runtime\GenericRuntime::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/GenericRuntime.php on line 89
Deprecated : Symfony\Component\Runtime\RuntimeInterface::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/RuntimeInterface.php on line 26
Deprecated : Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46
Deprecated : Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46
Deprecated : Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/Input.php on line 36
Deprecated : Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 58
Deprecated : Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler
<?php
use Twig\Environment ;
use Twig\Error\LoaderError ;
use Twig\Error\RuntimeError ;
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 ;
/* @theme/templates/cmspage-themed-header.html.twig */
class __TwigTemplate_6ed62f6453768e0e8f3a82f22da72d60 extends Template
{
private $source ;
private $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 )
{
// line 1
return "@theme/base.html.twig" ;
}
protected function doDisplay (array $context , array $blocks = [])
{
$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-themed-header.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-themed-header.html.twig" ));
$this -> parent = $this -> loadTemplate ( "@theme/base.html.twig" , "@theme/templates/cmspage-themed-header.html.twig" , 1 );
$this -> parent -> display ( $context , array_merge ( $this -> blocks , $blocks ));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
// line 2
public function block_metatitle ( $context , array $blocks = [])
{
$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" ));
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 2 , $this -> source ); })()), "metatitle" , [], "any" , false , false , false , 2 ), "html" , null , true );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 3
public function block_metadescription ( $context , array $blocks = [])
{
$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
echo twig_escape_filter ( $this -> env , twig_slice ( $this -> env , twig_striptags ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 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 );
}
// line 7
public function block_body ( $context , array $blocks = [])
{
$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
echo " " ;
$context [ "pagetitle" ] = (( $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 56 }((isset( $context [ "pageComponents" ]) || array_key_exists ( "pageComponents" , $context ) ? $context [ "pageComponents" ] : (function () { throw new RuntimeError ( 'Variable "pageComponents" does not exist.' , 8 , $this -> source ); })()), "title" )) ? ( $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 56 }((isset( $context [ "pageComponents" ]) || array_key_exists ( "pageComponents" , $context ) ? $context [ "pageComponents" ] : (function () { throw new RuntimeError ( 'Variable "pageComponents" does not exist.' , 8 , $this -> source ); })()), "title" )) : ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 8 , $this -> source ); })()), "title" , [], "any" , false , false , false , 8 )));
// line 9
echo " " ;
$context [ "subtitle" ] = (( $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 56 }((isset( $context [ "pageComponents" ]) || array_key_exists ( "pageComponents" , $context ) ? $context [ "pageComponents" ] : (function () { throw new RuntimeError ( 'Variable "pageComponents" does not exist.' , 9 , $this -> source ); })()), "subtitle" )) ? ( $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 56 }((isset( $context [ "pageComponents" ]) || array_key_exists ( "pageComponents" , $context ) ? $context [ "pageComponents" ] : (function () { throw new RuntimeError ( 'Variable "pageComponents" does not exist.' , 9 , $this -> source ); })()), "subtitle" )) : ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 9 , $this -> source ); })()), "subtitle" , [], "any" , false , false , false , 9 )));
// line 10
echo "
";
// line 11
echo $this -> env -> getRuntime ( 'Symfony\UX\TwigComponent\Twig\ComponentRuntime' )-> render ( "PageHeroThemed" , [ "page" => (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 11 , $this -> source ); })())]);
echo "
";
// line 13
if ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 13 , $this -> source ); })()), "content" , [], "any" , false , false , false , 13 )) {
// line 14
echo " " ;
$__internal_compile_0 = $this -> env -> getRuntime ( "Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime" );
$preRendered = $__internal_compile_0 -> preRender ( "PageMainContent" , twig_to_array ([]));
if (null !== $preRendered ) {
echo $preRendered ;
} else {
$preRenderEvent = $__internal_compile_0 -> startEmbedComponent ( "PageMainContent" , twig_to_array ([]), $context , "@theme/templates/cmspage-themed-header.html.twig" , 38494715781 );
$embeddedContext = $preRenderEvent -> getVariables ();
$embeddedContext [ "__parent__" ] = $preRenderEvent -> getTemplate ();
$embeddedContext [ "outerBlocks" ] ??= new \Symfony\UX\TwigComponent\BlockStack ();
$embeddedBlocks = $embeddedContext [ "outerBlocks" ]-> convert ( $blocks , 38494715781 );
$this -> loadTemplate ( "@theme/templates/cmspage-themed-header.html.twig" , "@theme/templates/cmspage-themed-header.html.twig" , 14 , "38494715781" )-> display ( $embeddedContext , $embeddedBlocks );
$__internal_compile_0 -> finishEmbedComponent ();
}
// line 27
echo " " ;
}
// line 28
echo "
<div class=\"header-block\">
<div class=\"contact-details\">
";
// line 31
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 57 }( "Contact Details" );
echo "
</div>
</div>
";
// line 35
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 50 }((isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 35 , $this -> source ); })()), "content3" );
echo "
";
// line 37
$this -> loadTemplate ( "@theme/landing_page_blocks/index.html.twig" , "@theme/templates/cmspage-themed-header.html.twig" , 37 )-> display ( twig_array_merge ( $context , [ "blocks" => twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 37 , $this -> source ); })()), "landingPageBlocks" , [], "any" , false , false , false , 37 )]));
// line 38
echo "
";
// line 40
echo " " ;
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 41 }( "Before Content" , (isset( $context [ "pageComponents" ]) || array_key_exists ( "pageComponents" , $context ) ? $context [ "pageComponents" ] : (function () { throw new RuntimeError ( 'Variable "pageComponents" does not exist.' , 40 , $this -> source ); })()));
echo "
";
// line 41
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 41 }( "After Content" , (isset( $context [ "pageComponents" ]) || array_key_exists ( "pageComponents" , $context ) ? $context [ "pageComponents" ] : (function () { throw new RuntimeError ( 'Variable "pageComponents" does not exist.' , 41 , $this -> source ); })()));
echo "
";
// line 42
if ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 42 , $this -> source ); })()), "testimonial" , [], "any" , false , false , false , 42 )) {
// line 43
echo " " ;
echo $this -> env -> getRuntime ( 'Symfony\UX\TwigComponent\Twig\ComponentRuntime' )-> render ( "SingleTestimonial" , [ "testimonial" => twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 43 , $this -> source ); })()), "testimonial" , [], "any" , false , false , false , 43 )]);
echo "
";
}
// line 45
echo " " ;
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 41 }( "Contact Form" , (isset( $context [ "pageComponents" ]) || array_key_exists ( "pageComponents" , $context ) ? $context [ "pageComponents" ] : (function () { throw new RuntimeError ( 'Variable "pageComponents" does not exist.' , 45 , $this -> source ); })()));
echo "
";
// line 46
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 41 }( "Before Footer" , (isset( $context [ "pageComponents" ]) || array_key_exists ( "pageComponents" , $context ) ? $context [ "pageComponents" ] : (function () { throw new RuntimeError ( 'Variable "pageComponents" does not exist.' , 46 , $this -> source ); })()));
echo "
";
// line 47
if (( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 47 , $this -> source ); })()), "id" , [], "any" , false , false , false , 47 ) == 6 )) {
// line 48
echo " " ;
// line 49
echo " " ;
echo $this -> env -> getRuntime ( 'Symfony\Bridge\Twig\Extension\HttpKernelRuntime' )-> renderFragment ( Symfony\Bridge\Twig\Extension\HttpKernelExtension :: controller ( "App\\Controller\\WisdomController::index" ));
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 53
public function block_stylesheets ( $context , array $blocks = [])
{
$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 );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@theme/templates/cmspage-themed-header.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
return array ( 210 => 53 , 196 => 49 , 194 => 48 , 192 => 47 , 188 => 46 , 183 => 45 , 177 => 43 , 175 => 42 , 171 => 41 , 166 => 40 , 163 => 38 , 161 => 37 , 156 => 35 , 149 => 31 , 144 => 28 , 141 => 27 , 126 => 14 , 124 => 13 , 119 => 11 , 116 => 10 , 113 => 9 , 110 => 8 , 100 => 7 , 90 => 4 , 80 => 3 , 61 => 2 , 38 => 1 ,);
}
public function getSourceContext ()
{
return new Source ( "{% extends '@theme/base.html.twig' %}
{% block metatitle %}{{ page.metatitle }}{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock %}
{% block body %}
{% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
{% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
{{ component('PageHeroThemed', { page: page }) }}
{% if page.content %}
{% component 'PageMainContent' %}
{% 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 %}
<div class=\"header-block\">
<div class=\"contact-details\">
{{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
</div>
</div>
{{ allowInlineEditor(page, 'content3')|raw }}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
{# {{ 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-themed-header.html.twig" , "/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-themed-header.html.twig" );
}
}
/* @theme/templates/cmspage-themed-header.html.twig */
class __TwigTemplate_6ed62f6453768e0e8f3a82f22da72d60___38494715781 extends Template
{
private $source ;
private $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 )
{
// line 14
return $this -> loadTemplate ((isset( $context [ "__parent__" ]) || array_key_exists ( "__parent__" , $context ) ? $context [ "__parent__" ] : (function () { throw new RuntimeError ( 'Variable "__parent__" does not exist.' , 14 , $this -> source ); })()), "@theme/templates/cmspage-themed-header.html.twig" , 14 );
}
protected function doDisplay (array $context , array $blocks = [])
{
$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-themed-header.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-themed-header.html.twig" ));
$this -> getParent ( $context )-> display ( $context , array_merge ( $this -> blocks , $blocks ));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
public function block_outer__block_fallback ( $context , array $blocks = [])
{
$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 );
}
// line 15
public function block_content ( $context , array $blocks = [])
{
$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" ));
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 50 }((isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 15 , $this -> source ); })()), "content" );
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 16
public function block_content2 ( $context , array $blocks = [])
{
$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 17
echo " " ;
if (twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 17 , $this -> source ); })()), "content2" , [], "any" , false , false , false , 17 )) {
// line 18
echo " " ;
echo $this -> extensions [ 'App\Twig\TwigExtension' ]->{ closure : App\Twig\TwigExtension :: getFunctions (): 50 }((isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 18 , $this -> source ); })()), "content2" );
echo "
";
}
// line 20
echo " " ;
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 21
public function block_buttons ( $context , array $blocks = [])
{
$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 22
echo " " ;
if ((twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 22 , $this -> source ); })()), "ctaText" , [], "any" , false , false , false , 22 ) && twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 22 , $this -> source ); })()), "ctaLink" , [], "any" , false , false , false , 22 ))) {
// line 23
echo " <a href=\"" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 23 , $this -> source ); })()), "ctaLink" , [], "any" , false , false , false , 23 ), "html" , null , true );
echo "\" class=\"button\">" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "page" ]) || array_key_exists ( "page" , $context ) ? $context [ "page" ] : (function () { throw new RuntimeError ( 'Variable "page" does not exist.' , 23 , $this -> source ); })()), "ctaText" , [], "any" , false , false , false , 23 ), "html" , null , true );
echo "</a>
";
}
// line 25
echo " " ;
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@theme/templates/cmspage-themed-header.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
return array ( 444 => 25 , 436 => 23 , 433 => 22 , 423 => 21 , 413 => 20 , 407 => 18 , 404 => 17 , 394 => 16 , 373 => 15 , 334 => 14 , 210 => 53 , 196 => 49 , 194 => 48 , 192 => 47 , 188 => 46 , 183 => 45 , 177 => 43 , 175 => 42 , 171 => 41 , 166 => 40 , 163 => 38 , 161 => 37 , 156 => 35 , 149 => 31 , 144 => 28 , 141 => 27 , 126 => 14 , 124 => 13 , 119 => 11 , 116 => 10 , 113 => 9 , 110 => 8 , 100 => 7 , 90 => 4 , 80 => 3 , 61 => 2 , 38 => 1 ,);
}
public function getSourceContext ()
{
return new Source ( "{% extends '@theme/base.html.twig' %}
{% block metatitle %}{{ page.metatitle }}{% endblock %}
{% block metadescription -%}
{{- page.metadescription|striptags|slice(0, 160) -}}
{%- endblock %}
{% block body %}
{% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
{% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
{{ component('PageHeroThemed', { page: page }) }}
{% if page.content %}
{% component 'PageMainContent' %}
{% 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 %}
<div class=\"header-block\">
<div class=\"contact-details\">
{{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
</div>
</div>
{{ allowInlineEditor(page, 'content3')|raw }}
{% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
{# {{ 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-themed-header.html.twig" , "/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-themed-header.html.twig" );
}
}