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

templates/themes/theme/templates/cmspage-light-header.html.twig line 1

Open in your IDE?
  1. {% extends '@theme/base.html.twig' %}
  2. {% block metatitle %}{{ page.metatitle }}{% endblock %}
  3. {% block metadescription -%}
  4.   {{- page.metadescription|striptags|slice(0, 160) -}}
  5. {%- endblock %}
  6. {% block body %}
  7.   {% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
  8.   {% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
  9.   <twig:PageHeroThemed
  10.     :page="page"
  11.     :bg="false"
  12.     :title="pagetitle"
  13.     :subtitle="subtitle"
  14.   />
  15.   {% if page.content %}
  16.     <twig:PageMainContent>
  17.       {{ allowInlineEditor(page, 'content')|raw }}
  18.       {% if page.id == 17 %}
  19.         <script type="application/ld+json">
  20.             {
  21.                 "@context": "https://schema.org",
  22.                 "@type": "LocalBusiness",
  23.                 "name": "{{ sitename }}",
  24.                 "telephone": "{{ renderSetting(2, 'content')|striptags }}",
  25.                 "email": "{{ renderSetting(3, 'content')|striptags }}",
  26.                 "contactPoint": {
  27.                     "@type": "ContactPoint",
  28.                     "contactType": "Customer Service",
  29.                     "telephone": "{{ renderSetting(2, 'content')|striptags }}",
  30.                     "areaServed": "GB"
  31.                 }
  32.             }
  33.         </script>
  34.         <div class="contact-items contact-items--dark">
  35.           {% include '@theme/common/contact-items.html.twig' %}
  36.           {{ forceRenderPcgcHtmlBlockByIdentifier(8)|raw }}
  37.         </div>
  38.       {% endif %}
  39.       <twig:block name="content2">
  40.         {% if page.content2 %}
  41.           {{ allowInlineEditor(page, 'content2')|raw }}
  42.         {% endif %}
  43.       </twig:block>
  44.       <twig:block name="buttons">
  45.         {% if page.ctaText and page.ctaLink %}
  46.           <a href="{{ page.ctaLink }}" class="button">{{ page.ctaText }}</a>
  47.         {% endif %}
  48.       </twig:block>
  49.     </twig:PageMainContent>
  50.   {% endif %}
  51.   {# <div class="header-block">
  52.     <div class="contact-details">
  53.       {{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
  54.     </div>
  55.   </div> #}
  56.     {% if page.content3 %}
  57.         <section class="py-40 container cms-area">{{ allowInlineEditor(page, 'content3')|raw }}</section>
  58.     {% endif %}
  59.   {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  60.   {# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
  61.   {{ renderPcgcComponents('Before Content', pageComponents)|raw }}
  62.   {{ renderPcgcComponents('After Content', pageComponents)|raw }}
  63.   {# {% if page.testimonial %}
  64.     <twig:SingleTestimonial :testimonial="page.testimonial" />
  65.   {% endif %} #}
  66.   {{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
  67.   {{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
  68.   {% if page.id == 6 %}
  69.     {# About page #}
  70.     {{ render(controller('App\\Controller\\WisdomController::index')) }}
  71.   {% endif %}
  72. {% endblock %}
  73. {% block stylesheets %}{% endblock %}