User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php', 511) (Line: 104)
Drupal\Component\PhpStorage\FileStorage->createDirectory('sites/default/files/php/twig', 511) (Line: 73)
Drupal\Component\PhpStorage\FileStorage->ensureDirectory('sites/default/files/php/twig') (Line: 66)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('67b47c7e6426d_page.html.twig_LThkS8_obT8B5lKJcgzUMB1OG', '<?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;
/* themes/custom/uclouvain_theme/templates/page/page.html.twig */
class __TwigTemplate_b4be8392dae2b2832d8d1c0755fdd859 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'body_highlighted' => [$this, 'block_body_highlighted'],
'help' => [$this, 'block_help'],
'body_content' => [$this, 'block_body_content'],
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 51
yield "
";
// line 62
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 62), "uclouvain_top_menu", [], "any", false, false, true, 62), 62, $this->source), "html", null, true);
yield "
";
// line 65
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 65), "ucl_header_message_block", [], "any", false, false, true, 65), 65, $this->source), "html", null, true);
yield "
";
// line 69
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 69), "ucl_profile", [], "any", false, false, true, 69), 69, $this->source), "html", null, true);
yield "
";
// line 72
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 72), "languageswitcher", [], "any", false, false, true, 72), 72, $this->source), "html", null, true);
yield "
";
// line 84
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 84), "uclouvain_theme_branding", [], "any", false, false, true, 84), 84, $this->source), "html", null, true);
yield "
";
// line 87
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 87), "ucl_front_page_navigation_block", [], "any", false, false, true, 87), 87, $this->source), "html", null, true);
yield "
";
// line 90
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 90), "uclouvainsearchblock", [], "any", false, false, true, 90), 90, $this->source), "html", null, true);
yield "
";
// line 106
yield from $this->loadTemplate("@layout/header/children/header-user-logo/header-user-logo.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 106)->unwrap()->yield(CoreExtension::merge($context, ["user" => // line 107
($context["user"] ?? null), "user_image_url" => // line 108
($context["user_image_url"] ?? null)]));
// line 110
yield "
";
// line 112
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 112), "uclouvain_theme_branding", [], "any", false, false, true, 112), 112, $this->source), "html", null, true);
yield "
";
// line 116
yield from $this->loadTemplate("@layout/header/children/header-burger/header-burger.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 116)->unwrap()->yield(CoreExtension::merge($context, ["attrs" => [["key" => "data-header-mobile-burger", "value" => ""]]]));
// line 124
yield "
";
// line 133
yield from $this->loadTemplate("@ui/heading/heading.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 133)->unwrap()->yield(CoreExtension::merge($context, ["tag" => "h6", "title" => t("Menu"), "class" => "header-mobile-menu__title"]));
// line 138
yield " ";
if ( !($context["logged_in"] ?? null)) {
// line 139
yield " ";
yield from $this->loadTemplate("@ui/cta-button/cta-button.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 139)->unwrap()->yield(CoreExtension::merge($context, ["href" => $this->extensions['Drupal\Core\Template\TwigExtension']->getUrl("user.login"), "label" => t("Je me connecte"), "type" => "secondary", "icon_before" => "login"]));
// line 145
yield " ";
}
// line 146
yield "
";
// line 147
if (($context["logged_in"] ?? null)) {
// line 148
yield "
";
// line 151
if (($context["user_image_url"] ?? null)) {
// line 152
yield " ";
yield from $this->loadTemplate("@ui/image/image.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 152)->unwrap()->yield(CoreExtension::merge($context, ["ratio" => 100, "image" => ["url" => // line 154
($context["user_image_url"] ?? null), "alt" => ""]]));
// line 156
yield " ";
} else {
// line 157
yield " ";
yield from $this->loadTemplate("@ui/icon/icon.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 157)->unwrap()->yield(CoreExtension::merge($context, ["name" => "login"]));
// line 160
yield " ";
}
// line 161
yield "
";
// line 163
yield from $this->loadTemplate("@ui/text/text.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 163)->unwrap()->yield(CoreExtension::merge($context, ["default" => "500-bold", "text" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 165
($context["user"] ?? null), "account", [], "any", false, false, true, 165), "name", [], "any", false, false, true, 165)]));
// line 167
yield "
";
// line 170
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 170), "ucl_profile_mobile", [], "any", false, false, true, 170), 170, $this->source), "html", null, true);
yield "
";
}
// line 172
yield "
";
// line 175
if (((( !($context["is_front"] ?? null) && (($context["page_type"] ?? null) != "ucllandingpage")) && (($context["page_type"] ?? null) != "uclouvain_content_events_overview")) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 175), "ucl_top_navigation_block", [], "any", false, false, true, 175))) {
// line 176
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 176), "ucl_top_navigation_block", [], "any", false, false, true, 176), 176, $this->source), "html", null, true);
yield "
";
} else {
// line 178
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 178), "ucl_front_page_navigation_block", [], "any", false, false, true, 178), 178, $this->source), "html", null, true);
yield "
";
}
// line 180
yield "
";
// line 181
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["personal"] ?? null))) {
// line 182
yield " ";
yield from $this->loadTemplate("@layout/header/children/header-dropdown/header-dropdown-mobile.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 182)->unwrap()->yield(CoreExtension::merge($context, ($context["personal"] ?? null)));
// line 183
yield " ";
}
// line 184
yield "
";
// line 186
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["languages"] ?? null))) {
// line 187
yield " <ul>
";
// line 188
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["languages"] ?? null), "items", [], "any", false, false, true, 188));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["idx"] => $context["item"]) {
// line 189
yield " <li>
<a line if this->env, $this->source, ($context["languages"] ?? null), "activeKey", [], "any", false, false, true, 191))) {
yield "active";
}
yield "\"
href=\"";
// line 192
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, true, 192), "href", [], "any", false, false, true, 192), 192, $this->source), "html", null, true);
yield "\"
target=\"";
// line 193
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, true, 193), "target", [], "any", false, false, true, 193), 193, $this->source), "html", null, true);
yield "\">
";
// line 194
yield from $this->loadTemplate("@ui/text/text.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 194)->unwrap()->yield(CoreExtension::merge($context, ["text" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 195
$context["item"], "link", [], "any", false, false, true, 195), "label", [], "any", false, false, true, 195), "default" => "300-bold", "tag" => "span", "attrs" => []]));
// line 200
yield " </a>
</li>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['idx'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 203
yield " </ul>
";
}
// line 205
yield "
";
// line 216
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 216), "uclouvainsearchblock", [], "any", false, false, true, 216), 216, $this->source), "html", null, true);
yield "
";
// line 225
if (( !($context["is_front"] ?? null) && (($context["page_type"] ?? null) != "ucllandingpage"))) {
// line 226
yield "
";
// line 227
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 227), "uclouvain_theme_breadcrumbs", [], "any", false, false, true, 227)) {
// line 228
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 228), "uclouvain_theme_breadcrumbs", [], "any", false, false, true, 228), 228, $this->source), "html", null, true);
yield "
";
}
// line 230
yield " ";
if (((( !($context["is_front"] ?? null) && (($context["page_type"] ?? null) != "ucllandingpage")) && (($context["page_type"] ?? null) != "uclouvain_content_events_overview")) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 230), "ucl_top_navigation_block", [], "any", false, false, true, 230))) {
// line 231
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 231), "ucl_top_navigation_block", [], "any", false, false, true, 231), 231, $this->source), "html", null, true);
yield "
";
}
// line 233
yield "
";
}
// line 235
yield "
";
// line 236
yield from $this->unwrap()->yieldBlock('body_highlighted', $context, $blocks);
// line 238
yield "
";
// line 239
yield from $this->unwrap()->yieldBlock('help', $context, $blocks);
// line 244
yield "
";
// line 245
yield from $this->unwrap()->yieldBlock('body_content', $context, $blocks);
// line 270
yield "
";
// line 274
yield from $this->loadTemplate("@uclouvain_theme/navigation/uclouvain-footer.html.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 274)->unwrap()->yield(CoreExtension::merge($context, ["footer" => CoreExtension::getAttribute($this->env, $this->source, // line 275
($context["page"] ?? null), "footer", [], "any", false, false, true, 275)]));
// line 277
yield "
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["page", "user", "user_image_url", "logged_in", "is_front", "page_type", "personal", "languages", "content_type"]); return; yield '';
}
// line 236
public function block_body_highlighted($context, array $blocks = [])
{
$macros = $this->macros;
return; yield '';
}
// line 239
public function block_help($context, array $blocks = [])
{
$macros = $this->macros;
// line 240
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 240)) {
// line 241
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 241), 241, $this->source), "html", null, true);
yield "
";
}
return; yield '';
}
// line 245
public function block_body_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 246
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content_type"] ?? null), 246, $this->source), "html", null, true);
yield "\">
";
// line 249
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 249)) {
// line 250
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 250), 250, $this->source), "html", null, true);
yield "
";
}
// line 252
yield "
";
// line 254
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 254)) {
// line 255
yield "
";
// line 256
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 259
yield "
";
}
// line 261
yield "
";
// line 263
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 263)) {
// line 264
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 264), 264, $this->source), "html", null, true);
yield "
";
}
// line 266
yield "
";
return; yield '';
}
// line 256
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 257
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 257), 257, $this->source), "html", null, true);
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/custom/uclouvain_theme/templates/page/page.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 463 => 257, 459 => 256, 451 => 266, 445 => 264, 443 => 263, 439 => 261, 435 => 259, 433 => 256, 430 => 255, 428 => 254, 424 => 252, 418 => 250, 416 => 249, 409 => 246, 405 => 245, 396 => 241, 393 => 240, 389 => 239, 382 => 236, 375 => 277, 373 => 275, 372 => 274, 366 => 270, 364 => 245, 361 => 244, 359 => 239, 356 => 238, 354 => 236, 351 => 235, 347 => 233, 341 => 231, 338 => 230, 332 => 228, 330 => 227, 327 => 226, 325 => 225, 313 => 216, 300 => 205, 296 => 203, 280 => 200, 278 => 195, 277 => 194, 273 => 193, 269 => 192, 263 => 191, 259 => 189, 242 => 188, 239 => 187, 237 => 186, 233 => 184, 230 => 183, 227 => 182, 225 => 181, 222 => 180, 216 => 178, 210 => 176, 208 => 175, 203 => 172, 198 => 170, 193 => 167, 191 => 165, 190 => 163, 186 => 161, 183 => 160, 180 => 157, 177 => 156, 175 => 154, 173 => 152, 171 => 151, 166 => 148, 164 => 147, 161 => 146, 158 => 145, 155 => 139, 152 => 138, 150 => 133, 139 => 124, 137 => 116, 130 => 112, 126 => 110, 124 => 108, 123 => 107, 122 => 106, 103 => 90, 97 => 87, 91 => 84, 76 => 72, 70 => 69, 63 => 65, 57 => 62, 44 => 51,);
}
public function getSourceContext()
{
return new Source("", "themes/custom/uclouvain_theme/templates/page/page.html.twig", "/var/app/web/themes/custom/uclouvain_theme/templates/page/page.html.twig");
}
public function checkSecurity()
{
static $tags = array("include" => 106, "if" => 138, "for" => 188, "block" => 236);
static $filters = array("escape" => 62, "t" => 135, "length" => 181);
static $functions = array("url" => 140);
try {
$this->sandbox->checkSecurity(
['include', 'if', 'for', 'block'],
['escape', 't', 'length'],
['url'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('67b47c7e6426d_page.html.twig_LThkS8_obT8B5lKJcgzUMB1OG', '<?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;
/* themes/custom/uclouvain_theme/templates/page/page.html.twig */
class __TwigTemplate_b4be8392dae2b2832d8d1c0755fdd859 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'body_highlighted' => [$this, 'block_body_highlighted'],
'help' => [$this, 'block_help'],
'body_content' => [$this, 'block_body_content'],
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 51
yield "
";
// line 62
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 62), "uclouvain_top_menu", [], "any", false, false, true, 62), 62, $this->source), "html", null, true);
yield "
";
// line 65
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 65), "ucl_header_message_block", [], "any", false, false, true, 65), 65, $this->source), "html", null, true);
yield "
";
// line 69
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 69), "ucl_profile", [], "any", false, false, true, 69), 69, $this->source), "html", null, true);
yield "
";
// line 72
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 72), "languageswitcher", [], "any", false, false, true, 72), 72, $this->source), "html", null, true);
yield "
";
// line 84
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 84), "uclouvain_theme_branding", [], "any", false, false, true, 84), 84, $this->source), "html", null, true);
yield "
";
// line 87
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 87), "ucl_front_page_navigation_block", [], "any", false, false, true, 87), 87, $this->source), "html", null, true);
yield "
";
// line 90
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 90), "uclouvainsearchblock", [], "any", false, false, true, 90), 90, $this->source), "html", null, true);
yield "
";
// line 106
yield from $this->loadTemplate("@layout/header/children/header-user-logo/header-user-logo.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 106)->unwrap()->yield(CoreExtension::merge($context, ["user" => // line 107
($context["user"] ?? null), "user_image_url" => // line 108
($context["user_image_url"] ?? null)]));
// line 110
yield "
";
// line 112
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 112), "uclouvain_theme_branding", [], "any", false, false, true, 112), 112, $this->source), "html", null, true);
yield "
";
// line 116
yield from $this->loadTemplate("@layout/header/children/header-burger/header-burger.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 116)->unwrap()->yield(CoreExtension::merge($context, ["attrs" => [["key" => "data-header-mobile-burger", "value" => ""]]]));
// line 124
yield "
";
// line 133
yield from $this->loadTemplate("@ui/heading/heading.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 133)->unwrap()->yield(CoreExtension::merge($context, ["tag" => "h6", "title" => t("Menu"), "class" => "header-mobile-menu__title"]));
// line 138
yield " ";
if ( !($context["logged_in"] ?? null)) {
// line 139
yield " ";
yield from $this->loadTemplate("@ui/cta-button/cta-button.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 139)->unwrap()->yield(CoreExtension::merge($context, ["href" => $this->extensions['Drupal\Core\Template\TwigExtension']->getUrl("user.login"), "label" => t("Je me connecte"), "type" => "secondary", "icon_before" => "login"]));
// line 145
yield " ";
}
// line 146
yield "
";
// line 147
if (($context["logged_in"] ?? null)) {
// line 148
yield "
";
// line 151
if (($context["user_image_url"] ?? null)) {
// line 152
yield " ";
yield from $this->loadTemplate("@ui/image/image.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 152)->unwrap()->yield(CoreExtension::merge($context, ["ratio" => 100, "image" => ["url" => // line 154
($context["user_image_url"] ?? null), "alt" => ""]]));
// line 156
yield " ";
} else {
// line 157
yield " ";
yield from $this->loadTemplate("@ui/icon/icon.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 157)->unwrap()->yield(CoreExtension::merge($context, ["name" => "login"]));
// line 160
yield " ";
}
// line 161
yield "
";
// line 163
yield from $this->loadTemplate("@ui/text/text.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 163)->unwrap()->yield(CoreExtension::merge($context, ["default" => "500-bold", "text" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 165
($context["user"] ?? null), "account", [], "any", false, false, true, 165), "name", [], "any", false, false, true, 165)]));
// line 167
yield "
";
// line 170
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 170), "ucl_profile_mobile", [], "any", false, false, true, 170), 170, $this->source), "html", null, true);
yield "
";
}
// line 172
yield "
";
// line 175
if (((( !($context["is_front"] ?? null) && (($context["page_type"] ?? null) != "ucllandingpage")) && (($context["page_type"] ?? null) != "uclouvain_content_events_overview")) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 175), "ucl_top_navigation_block", [], "any", false, false, true, 175))) {
// line 176
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 176), "ucl_top_navigation_block", [], "any", false, false, true, 176), 176, $this->source), "html", null, true);
yield "
";
} else {
// line 178
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 178), "ucl_front_page_navigation_block", [], "any", false, false, true, 178), 178, $this->source), "html", null, true);
yield "
";
}
// line 180
yield "
";
// line 181
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["personal"] ?? null))) {
// line 182
yield " ";
yield from $this->loadTemplate("@layout/header/children/header-dropdown/header-dropdown-mobile.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 182)->unwrap()->yield(CoreExtension::merge($context, ($context["personal"] ?? null)));
// line 183
yield " ";
}
// line 184
yield "
";
// line 186
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["languages"] ?? null))) {
// line 187
yield " <ul>
";
// line 188
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["languages"] ?? null), "items", [], "any", false, false, true, 188));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["idx"] => $context["item"]) {
// line 189
yield " <li>
<a line if this->env, $this->source, ($context["languages"] ?? null), "activeKey", [], "any", false, false, true, 191))) {
yield "active";
}
yield "\"
href=\"";
// line 192
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, true, 192), "href", [], "any", false, false, true, 192), 192, $this->source), "html", null, true);
yield "\"
target=\"";
// line 193
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["item"], "link", [], "any", false, false, true, 193), "target", [], "any", false, false, true, 193), 193, $this->source), "html", null, true);
yield "\">
";
// line 194
yield from $this->loadTemplate("@ui/text/text.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 194)->unwrap()->yield(CoreExtension::merge($context, ["text" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 195
$context["item"], "link", [], "any", false, false, true, 195), "label", [], "any", false, false, true, 195), "default" => "300-bold", "tag" => "span", "attrs" => []]));
// line 200
yield " </a>
</li>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['idx'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 203
yield " </ul>
";
}
// line 205
yield "
";
// line 216
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 216), "uclouvainsearchblock", [], "any", false, false, true, 216), 216, $this->source), "html", null, true);
yield "
";
// line 225
if (( !($context["is_front"] ?? null) && (($context["page_type"] ?? null) != "ucllandingpage"))) {
// line 226
yield "
";
// line 227
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 227), "uclouvain_theme_breadcrumbs", [], "any", false, false, true, 227)) {
// line 228
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 228), "uclouvain_theme_breadcrumbs", [], "any", false, false, true, 228), 228, $this->source), "html", null, true);
yield "
";
}
// line 230
yield " ";
if (((( !($context["is_front"] ?? null) && (($context["page_type"] ?? null) != "ucllandingpage")) && (($context["page_type"] ?? null) != "uclouvain_content_events_overview")) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 230), "ucl_top_navigation_block", [], "any", false, false, true, 230))) {
// line 231
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 231), "ucl_top_navigation_block", [], "any", false, false, true, 231), 231, $this->source), "html", null, true);
yield "
";
}
// line 233
yield "
";
}
// line 235
yield "
";
// line 236
yield from $this->unwrap()->yieldBlock('body_highlighted', $context, $blocks);
// line 238
yield "
";
// line 239
yield from $this->unwrap()->yieldBlock('help', $context, $blocks);
// line 244
yield "
";
// line 245
yield from $this->unwrap()->yieldBlock('body_content', $context, $blocks);
// line 270
yield "
";
// line 274
yield from $this->loadTemplate("@uclouvain_theme/navigation/uclouvain-footer.html.twig", "themes/custom/uclouvain_theme/templates/page/page.html.twig", 274)->unwrap()->yield(CoreExtension::merge($context, ["footer" => CoreExtension::getAttribute($this->env, $this->source, // line 275
($context["page"] ?? null), "footer", [], "any", false, false, true, 275)]));
// line 277
yield "
";
$this->env->getExtension('\Drupal\Core\Template\TwigExtension')
->checkDeprecations($context, ["page", "user", "user_image_url", "logged_in", "is_front", "page_type", "personal", "languages", "content_type"]); return; yield '';
}
// line 236
public function block_body_highlighted($context, array $blocks = [])
{
$macros = $this->macros;
return; yield '';
}
// line 239
public function block_help($context, array $blocks = [])
{
$macros = $this->macros;
// line 240
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 240)) {
// line 241
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 241), 241, $this->source), "html", null, true);
yield "
";
}
return; yield '';
}
// line 245
public function block_body_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 246
yield " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content_type"] ?? null), 246, $this->source), "html", null, true);
yield "\">
";
// line 249
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 249)) {
// line 250
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 250), 250, $this->source), "html", null, true);
yield "
";
}
// line 252
yield "
";
// line 254
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 254)) {
// line 255
yield "
";
// line 256
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 259
yield "
";
}
// line 261
yield "
";
// line 263
if (CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 263)) {
// line 264
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 264), 264, $this->source), "html", null, true);
yield "
";
}
// line 266
yield "
";
return; yield '';
}
// line 256
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 257
yield " ";
yield $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 257), 257, $this->source), "html", null, true);
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "themes/custom/uclouvain_theme/templates/page/page.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 463 => 257, 459 => 256, 451 => 266, 445 => 264, 443 => 263, 439 => 261, 435 => 259, 433 => 256, 430 => 255, 428 => 254, 424 => 252, 418 => 250, 416 => 249, 409 => 246, 405 => 245, 396 => 241, 393 => 240, 389 => 239, 382 => 236, 375 => 277, 373 => 275, 372 => 274, 366 => 270, 364 => 245, 361 => 244, 359 => 239, 356 => 238, 354 => 236, 351 => 235, 347 => 233, 341 => 231, 338 => 230, 332 => 228, 330 => 227, 327 => 226, 325 => 225, 313 => 216, 300 => 205, 296 => 203, 280 => 200, 278 => 195, 277 => 194, 273 => 193, 269 => 192, 263 => 191, 259 => 189, 242 => 188, 239 => 187, 237 => 186, 233 => 184, 230 => 183, 227 => 182, 225 => 181, 222 => 180, 216 => 178, 210 => 176, 208 => 175, 203 => 172, 198 => 170, 193 => 167, 191 => 165, 190 => 163, 186 => 161, 183 => 160, 180 => 157, 177 => 156, 175 => 154, 173 => 152, 171 => 151, 166 => 148, 164 => 147, 161 => 146, 158 => 145, 155 => 139, 152 => 138, 150 => 133, 139 => 124, 137 => 116, 130 => 112, 126 => 110, 124 => 108, 123 => 107, 122 => 106, 103 => 90, 97 => 87, 91 => 84, 76 => 72, 70 => 69, 63 => 65, 57 => 62, 44 => 51,);
}
public function getSourceContext()
{
return new Source("", "themes/custom/uclouvain_theme/templates/page/page.html.twig", "/var/app/web/themes/custom/uclouvain_theme/templates/page/page.html.twig");
}
public function checkSecurity()
{
static $tags = array("include" => 106, "if" => 138, "for" => 188, "block" => 236);
static $filters = array("escape" => 62, "t" => 135, "length" => 181);
static $functions = array("url" => 140);
try {
$this->sandbox->checkSecurity(
['include', 'if', 'for', 'block'],
['escape', 't', 'length'],
['url'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 383)
Twig\Environment->loadTemplate('__TwigTemplate_b4be8392dae2b2832d8d1c0755fdd859', 'themes/custom/uclouvain_theme/templates/page/page.html.twig') (Line: 344)
Twig\Environment->load('themes/custom/uclouvain_theme/templates/page/page.html.twig') (Line: 33)
twig_render_template('themes/custom/uclouvain_theme/templates/page/page.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 491)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 248)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 81)
__TwigTemplate_1763abfe29eb16dbb8f17e015ea01f15->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('core/modules/system/templates/html.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 491)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 248)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 153)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)