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/common/menu.html.twig line 1

Open in your IDE?
  1. {% set child = child ?? false %}
  2. <ul class="{{ child ? 'site-header__menu site-header__menu--child' : 'site-header__menu' }}">
  3.   {% for item in menu %}
  4.     <li>
  5.       <a
  6.         href="{{ item.slug }}"
  7.         class="{{ item.slug == currentUrl ? 'active' : '' }}"
  8.         {% if item.new_window %}
  9.           target="_blank"
  10.         {% endif %}
  11.       >
  12.         {{- item.navtitle -}}
  13.       </a>
  14.       {% if item.children is defined and item.children|length > 0 %}
  15.         {% include "@theme/common/menu.html.twig" with { 'menu' : item.children, 'currentUrl' : currentUrl, 'child' : true } only %}
  16.       {% endif %}
  17.       {% if item.isdynamic and item.dynamic_items|length > 0 %}
  18.         <ul>
  19.           {% for item in item.dynamic_items %}
  20.             <li>
  21.               <a href="{{ item.slug }}">{{ item.navtitle }}</a>
  22.             </li>
  23.           {% endfor %}
  24.         </ul>
  25.       {% endif %}
  26.     </li>
  27.   {% endfor %}
  28. </ul>