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-themed-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 :page="page" />
  10.   {% if page.content %}
  11.     <twig:PageMainContent>
  12.       {{ allowInlineEditor(page, 'content')|raw }}
  13.       <twig:block name="content2">
  14.         {% if page.content2 %}
  15.           {{ allowInlineEditor(page, 'content2')|raw }}
  16.         {% endif %}
  17.       </twig:block>
  18.       <twig:block name="buttons">
  19.         {% if page.ctaText and page.ctaLink %}
  20.           <a href="{{ page.ctaLink }}" class="button">{{ page.ctaText }}</a>
  21.         {% endif %}
  22.       </twig:block>
  23.     </twig:PageMainContent>
  24.   {% endif %}
  25.   <div class="header-block">
  26.     <div class="contact-details">
  27.       {{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
  28.     </div>
  29.   </div>
  30.   {{ allowInlineEditor(page, 'content3')|raw }}
  31.   {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  32.   {# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
  33.   {{ renderPcgcComponents('Before Content', pageComponents)|raw }}
  34.   {{ renderPcgcComponents('After Content', pageComponents)|raw }}
  35.   {% if page.testimonial %}
  36.     <twig:SingleTestimonial :testimonial="page.testimonial" />
  37.   {% endif %}
  38.   {{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
  39.   {{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
  40.   {% if page.id == 6 %}
  41.     {# About page #}
  42.     {{ render(controller('App\\Controller\\WisdomController::index')) }}
  43.   {% endif %}
  44. {% endblock %}
  45. {% block stylesheets %}{% endblock %}