<?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;
/* content/default.html.twig */
class __TwigTemplate_c46b3beda24bd0dd8847cd32d3cb7a10 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "layouts/layout.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", "content/default.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/default.html.twig"));
$this->parent = $this->loadTemplate("layouts/layout.html.twig", "content/default.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_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"));
// line 3
echo "\t<main class=\"pullc\">
\t\t<div class=\"container-xl\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-3 leftpull section-pillar d-none d-lg-block\">
\t\t\t\t\t<div class=\"section-title px-3 px-lg-3 ps-lg-0 d-flex flex-column\">
\t\t\t\t\t\t<h1 class=\"mb-lg-5 pe-lg-4 mt-5 text-lg-end\">";
// line 11
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["section_title"]) || array_key_exists("section_title", $context) ? $context["section_title"] : (function () { throw new RuntimeError('Variable "section_title" does not exist.', 11, $this->source); })()), 11, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t</h1>
\t\t\t\t\t</div>
\t\t\t\t\t";
// line 15
if ((( !twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 15, $this->source); })()), "getProperty", [0 => "hide_subnav"], "method", false, false, true, 15) && twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 15, $this->source); })()), "getProperty", [0 => "subnav_doc"], "method", false, false, true, 15)) && !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 15, $this->source); })()))) {
// line 16
echo "\t\t\t\t\t\t";
$context["submaxDepth"] = 2;
// line 17
echo "\t\t\t\t\t\t";
if ((twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 17, $this->source); })()), "getProperty", [0 => "maxdepth"], "method", false, false, true, 17) == 1)) {
// line 18
echo "\t\t\t\t\t\t\t";
$context["submaxDepth"] = 1;
// line 19
echo "\t\t\t\t\t\t";
}
// line 20
echo "\t\t\t\t\t\t<div class=\"d-flex justify-content-end\">
\t\t\t\t\t\t\t";
// line 21
$context["nav"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" => (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 21, $this->source); })()), "root" => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 21, $this->source); })()), "getProperty", [0 => "subnav_doc"], "method", false, false, true, 21)]);
// line 22
echo "\t\t\t\t\t\t\t";
echo $this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["nav"]) || array_key_exists("nav", $context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.', 22, $this->source); })()), 22, $this->source), "menu", "renderMenu", ["maxDepth" => // line 23
(isset($context["submaxDepth"]) || array_key_exists("submaxDepth", $context) ? $context["submaxDepth"] : (function () { throw new RuntimeError('Variable "submaxDepth" does not exist.', 23, $this->source); })()), "ulClass" => [0 => "sidenav list-unstyled justify-content-end align-self-end", 1 => "list-unstyled subnav", 2 => "list-unstyled subnav"], "expandSiblingNodesOfActiveBranch" => true]);
// line 30
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 35
echo "
\t\t\t\t\t";
// line 36
if (twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 36, $this->source); })()), "getProperty", [0 => "pillar_background"], "method", false, false, true, 36)) {
// line 37
echo "\t\t\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 37, $this->source); })()), "getProperty", [0 => "pillar_background"], "method", false, false, true, 37), "getMetadata", [0 => "Credit"], "method", false, false, true, 37)) {
// line 38
echo "\t\t\t\t\t\t\t<div class=\"pillar-credit\">
\t\t\t\t\t\t\t\tImage:
\t\t\t\t\t\t\t\t";
// line 40
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 40, $this->source); })()), "getProperty", [0 => "pillar_background"], "method", false, false, true, 40), "getMetadata", [0 => "Credit"], "method", false, false, true, 40), 40, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
// line 43
echo "\t\t\t\t\t";
}
// line 44
echo "\t\t\t\t</div>
\t\t\t\t<div class=\"col-lg-9 ps-lg-5 pe-lg-5 pb-4\">
\t\t\t\t\t";
// line 47
if ((twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 47, $this->source); })()), "path", [], "any", false, false, true, 47) == "/Development-Impact/Active-Projects/")) {
// line 48
echo "\t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
\t\t\t\t\t\t\t<a href=\"/\">";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t/
\t\t\t\t\t\t\t<a href=\"/Development-Impact\">Development & Impact</a>
\t\t\t\t\t\t\t/
\t\t\t\t\t\t\t";
// line 53
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 53, $this->source); })()), "title", [], "any", false, false, true, 53), 53, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t";
} else {
// line 57
echo "
\t\t\t\t\t\t";
// line 59
if ((isset($context["showBreadcrumbs"]) || array_key_exists("showBreadcrumbs", $context) ? $context["showBreadcrumbs"] : (function () { throw new RuntimeError('Variable "showBreadcrumbs" does not exist.', 59, $this->source); })())) {
// line 60
echo "\t\t\t\t\t\t\t";
$context["mainNavStartNode"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 60, $this->source); })()), "getProperty", [0 => "navigation_root"], "method", false, false, true, 60);
// line 61
echo "\t\t\t\t\t\t\t";
if (twig_test_empty((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode", $context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.', 61, $this->source); })()))) {
// line 62
echo "\t\t\t\t\t\t\t\t";
$context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
// line 63
echo "\t\t\t\t\t\t\t";
}
// line 64
echo "
\t\t\t\t\t\t\t";
// line 65
$context["breadcrumbs"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" => // line 66
(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 66, $this->source); })()), "root" => // line 67
(isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode", $context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.', 67, $this->source); })())]);
// line 69
echo "\t\t\t\t\t\t\t";
$this->extensions['App\Twig\Extension\NavigationExtension']->enrichBreadcrumbs((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 69, $this->source); })()));
// line 70
echo "\t\t\t\t\t\t\t";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_nav_renderer')->getCallable()("breadcrumbs"), "setMinDepth", [0 => null], "method", false, false, true, 70);
// line 71
echo "
\t\t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
\t\t\t\t\t\t\t\t<a href=\"/\">";
// line 73
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t/
\t\t\t\t\t\t\t\t";
// line 75
if ($this->env->getFunction('pimcore_render_nav')->getCallable()((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 75, $this->source); })()), "breadcrumbs")) {
// line 76
echo "\t\t\t\t\t\t\t\t\t";
echo twig_replace_filter($this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 76, $this->source); })()), 76, $this->source), "breadcrumbs"), [">" => " / "]);
echo "
\t\t\t\t\t\t\t\t";
} else {
// line 78
echo "\t\t\t\t\t\t\t\t\t";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 78, $this->source); })()), "title", [], "any", false, false, true, 78), 78, $this->source), "html", null, true);
echo "
\t\t\t\t\t\t\t\t";
}
// line 80
echo "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
// line 83
echo "\t\t\t\t\t";
}
// line 84
echo "
\t\t\t\t\t<h1 class=\"my-3\">";
// line 85
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "headline", ["placeholder" => "Headline", "width" => 600]);
echo "</h1>
\t\t\t\t\t";
// line 86
if ((array_key_exists("document", $context) && ((twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 86, $this->source); })()), "id", [], "any", false, false, true, 86) == 1) || (twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 86, $this->source); })()), "id", [], "any", false, false, true, 86) == 50)))) {
// line 87
echo "
\t\t\t\t\t\t<button onclick=\"ml_account('webforms', '5494673', 'r7a5s3', 'show')\" class=\"subscribe-wt d-block mt-auto\">Subscribe to the CESSDA newsletter
\t\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewbox=\"0 0 16 16\">
\t\t\t\t\t\t\t\t<path d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z\"/>
\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t</button>
\t\t\t\t\t";
}
// line 95
echo "\t\t\t\t\t<div class=\"content-body\">
\t\t\t\t\t\t";
// line 96
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "contentblock")));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 97
echo "
\t\t\t\t\t\t\t";
// line 98
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "content");
echo "
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 100
echo "
\t\t\t\t\t\t";
// line 101
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "main_content", ["allowed" => [0 => "video", 1 => "wysiwyg", 2 => "resource-collection", 3 => "map", 4 => "staff", 5 => "text-accordion", 6 => "organigramme"], "sorting" => [0 => "wysiwyg", 1 => "text-accordion", 2 => "video", 3 => "resource-collection", 4 => "map", 5 => "staff", 6 => "organigramme"]]);
// line 104
echo "
\t\t\t\t\t\t";
// line 106
if (twig_length_filter($this->env, (isset($context["newslist"]) || array_key_exists("newslist", $context) ? $context["newslist"] : (function () { throw new RuntimeError('Variable "newslist" does not exist.', 106, $this->source); })()))) {
// line 107
echo "\t\t\t\t\t\t\t<div class=\"moreinfo\">
\t\t\t\t\t\t\t\t<h3>Related news</h3>
\t\t\t\t\t\t\t\t<ul>
\t\t\t\t\t\t\t\t\t";
// line 113
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["newslist"]) || array_key_exists("newslist", $context) ? $context["newslist"] : (function () { throw new RuntimeError('Variable "newslist" does not exist.', 113, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["news"]) {
// line 114
echo "\t\t\t\t\t\t\t\t\t\t";
$context["detailLink"] = $this->extensions['App\Twig\Extension\NewsExtension']->generateLink($this->sandbox->ensureToStringAllowed($context["news"], 114, $this->source));
// line 115
echo "
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 117
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["detailLink"]) || array_key_exists("detailLink", $context) ? $context["detailLink"] : (function () { throw new RuntimeError('Variable "detailLink" does not exist.', 117, $this->source); })()), 117, $this->source), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["news"], "title", [], "any", false, false, true, 117), 117, $this->source), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['news'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 122
echo "\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
// line 125
echo "\t\t\t\t\t</div>
\t\t\t\t\t";
// line 127
if ((( !twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 127, $this->source); })()), "getProperty", [0 => "hide_subnav"], "method", false, false, true, 127) && twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 127, $this->source); })()), "getProperty", [0 => "subnav_doc"], "method", false, false, true, 127)) && !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 127, $this->source); })()))) {
// line 128
echo "
\t\t\t\t\t\t<div class=\"d-block d-lg-none mt-3\">
\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t<h3>";
// line 132
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["section_title"]) || array_key_exists("section_title", $context) ? $context["section_title"] : (function () { throw new RuntimeError('Variable "section_title" does not exist.', 132, $this->source); })()), 132, $this->source), "html", null, true);
echo "</h3>
\t\t\t\t\t\t\t";
// line 135
echo twig_replace_filter($this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["nav"]) || array_key_exists("nav", $context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.', 135, $this->source); })()), 135, $this->source), "menu", "renderMenu", ["maxDepth" => 2, "ulClass" => [0 => "bottomnav list-unstyled", 1 => "list-unstyled subnav", 2 => "list-unstyled subnav"], "expandSiblingNodesOfActiveBranch" => true]), ["pimcore-navigation-renderer-menu" => "mobilemenu"]);
// line 144
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 149
echo "
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/default.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 336 => 149, 329 => 144, 327 => 135, 321 => 132, 315 => 128, 313 => 127, 309 => 125, 304 => 122, 291 => 117, 287 => 115, 284 => 114, 280 => 113, 272 => 107, 270 => 106, 266 => 104, 264 => 101, 261 => 100, 253 => 98, 250 => 97, 246 => 96, 243 => 95, 233 => 87, 231 => 86, 227 => 85, 224 => 84, 221 => 83, 216 => 80, 210 => 78, 204 => 76, 202 => 75, 197 => 73, 193 => 71, 190 => 70, 187 => 69, 185 => 67, 184 => 66, 183 => 65, 180 => 64, 177 => 63, 174 => 62, 171 => 61, 168 => 60, 166 => 59, 162 => 57, 155 => 53, 148 => 49, 145 => 48, 143 => 47, 138 => 44, 135 => 43, 129 => 40, 125 => 38, 122 => 37, 120 => 36, 117 => 35, 110 => 30, 108 => 23, 106 => 22, 104 => 21, 101 => 20, 98 => 19, 95 => 18, 92 => 17, 89 => 16, 87 => 15, 80 => 11, 70 => 3, 60 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layouts/layout.html.twig' %}
{% block content %}
\t<main class=\"pullc\">
\t\t<div class=\"container-xl\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-lg-3 leftpull section-pillar d-none d-lg-block\">
\t\t\t\t\t<div class=\"section-title px-3 px-lg-3 ps-lg-0 d-flex flex-column\">
\t\t\t\t\t\t<h1 class=\"mb-lg-5 pe-lg-4 mt-5 text-lg-end\">{{ section_title }}
\t\t\t\t\t\t</h1>
\t\t\t\t\t</div>
\t\t\t\t\t{% if not document.getProperty('hide_subnav') and document.getProperty('subnav_doc') and not editmode %}
\t\t\t\t\t\t{% set submaxDepth = 2 %}
\t\t\t\t\t\t{% if document.getProperty('maxdepth') == 1 %}
\t\t\t\t\t\t\t{% set submaxDepth = 1 %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t<div class=\"d-flex justify-content-end\">
\t\t\t\t\t\t\t{% set nav = pimcore_build_nav({active: document, root: document.getProperty('subnav_doc')}) %}
\t\t\t\t\t\t\t{{ pimcore_render_nav(nav, 'menu', 'renderMenu', {
\t\t\t\t\t maxDepth: submaxDepth,
\t\t\t\t\t ulClass: {
\t\t\t\t\t 0: 'sidenav list-unstyled justify-content-end align-self-end',
\t\t\t\t\t\t\t\t\t 1: 'list-unstyled subnav',
\t\t\t\t\t\t\t\t\t 2: 'list-unstyled subnav',
\t\t\t\t\t },
\t\t\t\t\t\t\t\texpandSiblingNodesOfActiveBranch: true
\t\t\t\t\t }) }}
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t\t{% if document.getProperty('pillar_background') %}
\t\t\t\t\t\t{% if document.getProperty('pillar_background').getMetadata('Credit') %}
\t\t\t\t\t\t\t<div class=\"pillar-credit\">
\t\t\t\t\t\t\t\tImage:
\t\t\t\t\t\t\t\t{{ document.getProperty('pillar_background').getMetadata('Credit') }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t\t<div class=\"col-lg-9 ps-lg-5 pe-lg-5 pb-4\">
\t\t\t\t\t{% if document.path == \"/Development-Impact/Active-Projects/\" %}
\t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
\t\t\t\t\t\t\t<a href=\"/\">{{ \"Home\"|trans }}</a>
\t\t\t\t\t\t\t/
\t\t\t\t\t\t\t<a href=\"/Development-Impact\">Development & Impact</a>
\t\t\t\t\t\t\t/
\t\t\t\t\t\t\t{{ document.title }}
\t\t\t\t\t\t</div>
\t\t\t\t\t{% else %}
\t\t\t\t\t\t{% if showBreadcrumbs %}
\t\t\t\t\t\t\t{% set mainNavStartNode = document.getProperty('navigation_root') %}
\t\t\t\t\t\t\t{% if mainNavStartNode is empty %}
\t\t\t\t\t\t\t\t{% set mainNavStartNode = pimcore_document(1) %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% set breadcrumbs = pimcore_build_nav({
active: document,
root: mainNavStartNode
}) %}
\t\t\t\t\t\t\t{% do app_navigation_enrich_breadcrumbs(breadcrumbs) %}
\t\t\t\t\t\t\t{% do pimcore_nav_renderer('breadcrumbs').setMinDepth(null) %}
\t\t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
\t\t\t\t\t\t\t\t<a href=\"/\">{{ \"Home\"|trans }}</a>
\t\t\t\t\t\t\t\t/
\t\t\t\t\t\t\t\t{% if pimcore_render_nav(breadcrumbs, 'breadcrumbs') %}
\t\t\t\t\t\t\t\t\t{{ pimcore_render_nav(breadcrumbs, 'breadcrumbs')|replace({'>':' / '})|raw }}
\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t{{ document.title }}
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% endif %}
\t\t\t\t\t<h1 class=\"my-3\">{{ pimcore_input(\"headline\", {\"placeholder\":\"Headline\", \"width\": 600}) }}</h1>
\t\t\t\t\t{% if document is defined and (document.id == 1 or document.id == 50) %}
\t\t\t\t\t\t<button onclick=\"ml_account('webforms', '5494673', 'r7a5s3', 'show')\" class=\"subscribe-wt d-block mt-auto\">Subscribe to the CESSDA newsletter
\t\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewbox=\"0 0 16 16\">
\t\t\t\t\t\t\t\t<path d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z\"/>
\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t</button>
\t\t\t\t\t{% endif %}
\t\t\t\t\t<div class=\"content-body\">
\t\t\t\t\t\t{% for i in pimcore_iterate_block(pimcore_block('contentblock')) %}
\t\t\t\t\t\t\t{{ pimcore_wysiwyg('content') }}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t{{ pimcore_areablock(\"main_content\", {
\"allowed\": [\"video\",\"wysiwyg\",\"resource-collection\", \"map\", \"staff\", \"text-accordion\",\"organigramme\"],
\"sorting\": [\"wysiwyg\",\"text-accordion\",\"video\",\"resource-collection\",\"map\", \"staff\",\"organigramme\"],
}) }}
\t\t\t\t\t\t{% if newslist|length %}
\t\t\t\t\t\t\t<div class=\"moreinfo\">
\t\t\t\t\t\t\t\t<h3>Related news</h3>
\t\t\t\t\t\t\t\t<ul>
\t\t\t\t\t\t\t\t\t{% for news in newslist %}
\t\t\t\t\t\t\t\t\t\t{% set detailLink = app_news_detaillink(news) %}
\t\t\t\t\t\t\t\t\t\t<li>
\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ detailLink }}\">{{news.title}}</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t\t{% if not document.getProperty('hide_subnav') and document.getProperty('subnav_doc') and not editmode %}
\t\t\t\t\t\t<div class=\"d-block d-lg-none mt-3\">
\t\t\t\t\t\t\t<hr>
\t\t\t\t\t\t\t<h3>{{ section_title }}</h3>
\t\t\t\t\t\t\t{{ pimcore_render_nav(nav, 'menu', 'renderMenu', {
maxDepth: 2,
ulClass: {
0: 'bottomnav list-unstyled',
\t\t\t\t 1: 'list-unstyled subnav',
\t\t\t\t 2: 'list-unstyled subnav',
},
\t\t\texpandSiblingNodesOfActiveBranch: true
}) | replace({'pimcore-navigation-renderer-menu': \"mobilemenu\"}) | raw}}
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</main>
{% endblock %}
", "content/default.html.twig", "/sites/pimcore/cessda-dev/templates/content/default.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 15, "set" => 16, "do" => 69, "for" => 96);
static $filters = array("escape" => 11, "trans" => 49, "raw" => 76, "replace" => 76, "length" => 106);
static $functions = array("pimcore_build_nav" => 21, "pimcore_render_nav" => 22, "pimcore_document" => 62, "app_navigation_enrich_breadcrumbs" => 69, "pimcore_nav_renderer" => 70, "pimcore_input" => 85, "pimcore_iterate_block" => 96, "pimcore_block" => 96, "pimcore_wysiwyg" => 98, "pimcore_areablock" => 101, "app_news_detaillink" => 114);
try {
$this->sandbox->checkSecurity(
['if', 'set', 'do', 'for'],
['escape', 'trans', 'raw', 'replace', 'length'],
['pimcore_build_nav', 'pimcore_render_nav', 'pimcore_document', 'app_navigation_enrich_breadcrumbs', 'pimcore_nav_renderer', 'pimcore_input', 'pimcore_iterate_block', 'pimcore_block', 'pimcore_wysiwyg', 'pimcore_areablock', 'app_news_detaillink']
);
} 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;
}
}
}