var/cache/dev/twig/0d/0d76878739b3f08749c655195f7855e2.php line 43

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @NotarisFrontend/news/detail.html.twig */
  14. class __TwigTemplate_db894e808db3486bca87e19918426289 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source = $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this, 'block_title'],
  24.             'extralinks' => [$this, 'block_extralinks'],
  25.             'extrameta' => [$this, 'block_extrameta'],
  26.             'body' => [$this, 'block_body'],
  27.             'extrajs' => [$this, 'block_extrajs'],
  28.             'extracss' => [$this, 'block_extracss'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "@NotarisFrontend/layout2017.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros = $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/news/detail.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/news/detail.html.twig"));
  43.         // line 12
  44.         $context["canonicalLink"] = ((((isset($context["url_scheme"]) || array_key_exists("url_scheme", $context) ? $context["url_scheme"] : (function () { throw new RuntimeError('Variable "url_scheme" does not exist.', 12, $this->source); })()) . "://www.") . twig_get_attribute($this->env, $this->source, $context, ("url_" . (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 12, $this->source); })())), [], "array", false, false, false, 12)) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_news_detail", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 12, $this->source); })()), "slug", [], "any", false, false, false, 12)]));
  45.         // line 17
  46.         $context["linked_url_nl"] = ((isset($context["url_nl"]) || array_key_exists("url_nl", $context) ? $context["url_nl"] : (function () { throw new RuntimeError('Variable "url_nl" does not exist.', 17, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_news.nl"));
  47.         // line 18
  48.         $context["linked_url_fr"] = ((isset($context["url_fr"]) || array_key_exists("url_fr", $context) ? $context["url_fr"] : (function () { throw new RuntimeError('Variable "url_fr" does not exist.', 18, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_news.fr"));
  49.         // line 1
  50.         $this->parent = $this->loadTemplate("@NotarisFrontend/layout2017.html.twig", "@NotarisFrontend/news/detail.html.twig", 1);
  51.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 4
  58.     public function block_title($context, array $blocks = [])
  59.     {
  60.         $macros = $this->macros;
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  65.         // line 5
  66.         echo "    ";
  67.         if (array_key_exists("notaryId", $context)) {
  68.             // line 6
  69.             echo "        <title>";
  70.             echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 6, $this->source); })()), "header1", [], "any", false, false, false, 6), ["<BR />" => " "]), "html", null, true);
  71.             echo " - ";
  72.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 6, $this->source); })()), "pageTitle", [], "any", false, false, false, 6), "html", null, true);
  73.             echo "</title>
  74.     ";
  75.         } else {
  76.             // line 8
  77.             echo "        <title>";
  78.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 8, $this->source); })()), "title", [], "any", false, false, false, 8), "html", null, true);
  79.             echo " | ";
  80.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("alg_basetitle_nondash"), "html", null, true);
  81.             echo " - ";
  82.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("mn_nieuws"), "html", null, true);
  83.             echo "</title>
  84.     ";
  85.         }
  86.         
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  88.         
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  90.     }
  91.     // line 13
  92.     public function block_extralinks($context, array $blocks = [])
  93.     {
  94.         $macros = $this->macros;
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extralinks"));
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extralinks"));
  99.         // line 14
  100.         echo "    <link rel=\"canonical\" href=\"";
  101.         echo twig_escape_filter($this->env, (isset($context["canonicalLink"]) || array_key_exists("canonicalLink", $context) ? $context["canonicalLink"] : (function () { throw new RuntimeError('Variable "canonicalLink" does not exist.', 14, $this->source); })()), "html", null, true);
  102.         echo "\"  />
  103. ";
  104.         
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  106.         
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  108.     }
  109.     // line 20
  110.     public function block_extrameta($context, array $blocks = [])
  111.     {
  112.         $macros = $this->macros;
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extrameta"));
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extrameta"));
  117.         // line 21
  118.         echo "    <meta name=\"keywords\" content=\"";
  119.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 21, $this->source); })()), "meta", [], "any", false, false, false, 21), "metaKeywords", [], "any", false, false, false, 21), "html", null, true);
  120.         echo "\"/>
  121.     <meta name=\"description\" lang=\"";
  122.         // line 22
  123.         echo twig_escape_filter($this->env, (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 22, $this->source); })()), "html", null, true);
  124.         echo "\" content=\"";
  125.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 22, $this->source); })()), "meta", [], "any", false, false, false, 22), "metaDescription", [], "any", false, false, false, 22), "html", null, true);
  126.         echo "\"/>
  127.     <meta property=\"og:title\" content=\"";
  128.         // line 24
  129.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 24, $this->source); })()), "meta", [], "any", false, false, false, 24), "ogTitle", [], "any", false, false, false, 24), "html", null, true);
  130.         echo "\"/>
  131.     <meta property=\"og:type\" content=\"article\"/>
  132.     <meta property=\"og:url\" content=\"";
  133.         // line 26
  134.         echo twig_escape_filter($this->env, (isset($context["canonicalLink"]) || array_key_exists("canonicalLink", $context) ? $context["canonicalLink"] : (function () { throw new RuntimeError('Variable "canonicalLink" does not exist.', 26, $this->source); })()), "html", null, true);
  135.         echo "\"/>
  136.     <meta property=\"og:description\" content=\"";
  137.         // line 28
  138.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 28, $this->source); })()), "meta", [], "any", false, false, false, 28), "ogDescription", [], "any", false, false, false, 28), "html", null, true);
  139.         echo "\"/>
  140.     ";
  141.         // line 30
  142.         if ((isset($context["shareImage"]) || array_key_exists("shareImage", $context) ? $context["shareImage"] : (function () { throw new RuntimeError('Variable "shareImage" does not exist.', 30, $this->source); })())) {
  143.             // line 31
  144.             echo "        <meta property=\"og:image\" content=\"";
  145.             echo twig_escape_filter($this->env, (isset($context["shareImage"]) || array_key_exists("shareImage", $context) ? $context["shareImage"] : (function () { throw new RuntimeError('Variable "shareImage" does not exist.', 31, $this->source); })()), "html", null, true);
  146.             echo "\" />
  147.         <meta property=\"og:image:width\" content=\"1200\" />
  148.         <meta property=\"og:image:height\" content=\"630\" />
  149.     ";
  150.         } else {
  151.             // line 35
  152.             echo "        ";
  153.             $this->displayParentBlock("extrameta", $context, $blocks);
  154.             echo "
  155.     ";
  156.         }
  157.         
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  159.         
  160.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  161.     }
  162.     // line 39
  163.     public function block_body($context, array $blocks = [])
  164.     {
  165.         $macros = $this->macros;
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  170.         // line 40
  171.         echo "
  172.     <section class=\"content u-padding-top-large\">
  173.         ";
  174.         // line 42
  175.         echo twig_include($this->env, $context, "@NotarisFrontend/module/sidenav.html.twig", ["subsite" => (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 42, $this->source); })())]);
  176.         echo "
  177.         ";
  178.         // line 44
  179.         echo "
  180.         <div id=\"content-center\" class=\"content-center-large ";
  181.         // line 45
  182.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 45, $this->source); })()), "stylesheet", [], "any", false, false, false, 45), "html", null, true);
  183.         echo "\">
  184.             <div id=\"content-center-header\">
  185.                 <div class=\"prevnext-pages border-bottom prevnext-pages-color\">
  186.                     ";
  187.         // line 48
  188.         if (((isset($context["subsiteslug"]) || array_key_exists("subsiteslug", $context) ? $context["subsiteslug"] : (function () { throw new RuntimeError('Variable "subsiteslug" does not exist.', 48, $this->source); })()) != "")) {
  189.             // line 49
  190.             echo "                        <a href=\"";
  191.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite_news", ["subsiteslug" => (isset($context["subsiteslug"]) || array_key_exists("subsiteslug", $context) ? $context["subsiteslug"] : (function () { throw new RuntimeError('Variable "subsiteslug" does not exist.', 49, $this->source); })())]), "html", null, true);
  192.             echo "\"
  193.                            title=\"";
  194.             // line 50
  195.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_volledigenieuwslijst"), "html", null, true);
  196.             echo "\">";
  197.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_volledigenieuwslijst"), "html", null, true);
  198.             echo "</a>
  199.                     ";
  200.         } else {
  201.             // line 52
  202.             echo "                        <a href=\"";
  203.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_news");
  204.             echo "\"
  205.                            title=\"";
  206.             // line 53
  207.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_volledigenieuwslijst"), "html", null, true);
  208.             echo "\">";
  209.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_volledigenieuwslijst"), "html", null, true);
  210.             echo "</a>
  211.                     ";
  212.         }
  213.         // line 55
  214.         echo "                </div>
  215.             </div>
  216.             <section id=\"info\">
  217.                 <div id=\"info-content\" class=\"niveau1 u-wysiwyg\">
  218.                     ";
  219.         // line 70
  220.         echo "                    ";
  221.         if (twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 70, $this->source); })()), "isPers", [], "any", false, false, false, 70)) {
  222.             // line 71
  223.             echo "                            <div class=\"c-tooltip c-tooltip--top c-tooltip--5-up u-text-inline s-ctsm-settpm u-display--inline\">
  224.                                 <span
  225.                                     class=\"";
  226.             // line 73
  227.             if (((isset($context["lastPart"]) || array_key_exists("lastPart", $context) ? $context["lastPart"] : (function () { throw new RuntimeError('Variable "lastPart" does not exist.', 73, $this->source); })()) == twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 73, $this->source); })()), "slug", [], "any", false, false, false, 73))) {
  228.                 echo "u-bg-";
  229.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 73, $this->source); })()), "stylesheet", [], "any", false, false, false, 73), "html", null, true);
  230.                 echo " ";
  231.             } else {
  232.                 echo "u-bg-primary ";
  233.             }
  234.             echo "u-color-white o-tabpannel__label\">";
  235.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_pm"), "html", null, true);
  236.             echo "</span>
  237.                                 <p class=\"c-tooltip__news\">";
  238.             // line 74
  239.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_pm_meaning"), "html", null, true);
  240.             echo "</p>
  241.                             </div>
  242.                     ";
  243.         }
  244.         // line 77
  245.         echo "                    <h1 class=\"u-h2 u-text-lineheight-normal u-display--inline\">";
  246.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 77, $this->source); })()), "title", [], "any", false, false, false, 77), "html", null, true);
  247.         echo "</h1>
  248.                     <p class=\"o-tabpannel__content__title__date u-padding-top-tiny u-margin-top-none\">";
  249.         // line 78
  250.         echo twig_escape_filter($this->env, $this->extensions['Notaris\FrontendBundle\Twig\DateExtension']->localdateFilter(twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 78, $this->source); })()), "publicationDate", [], "any", false, false, false, 78)), "html", null, true);
  251.         echo "</p>
  252.                     ";
  253.         // line 79
  254.         if ((twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 79, $this->source); })()), "introduction", [], "any", false, false, false, 79) != "")) {
  255.             // line 80
  256.             echo "                        <p>";
  257.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 80, $this->source); })()), "introduction", [], "any", false, false, false, 80), "html", null, true);
  258.             echo "</p>
  259.                     ";
  260.         }
  261.         // line 82
  262.         echo "                    ";
  263.         if ((twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 82, $this->source); })()), "subtitle", [], "any", false, false, false, 82) != "")) {
  264.             // line 83
  265.             echo "                        <h2>";
  266.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 83, $this->source); })()), "subtitle", [], "any", false, false, false, 83), "html", null, true);
  267.             echo "</h2>
  268.                     ";
  269.         }
  270.         // line 85
  271.         echo "
  272.                     ";
  273.         // line 87
  274.         echo "                    ";
  275.         if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 87, $this->source); })()), "asset", [], "any", false, false, false, 87))) {
  276.             // line 88
  277.             echo "                        ";
  278.             if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 88, $this->source); })()), "asset", [], "any", false, false, false, 88), "assetImages", [], "any", false, false, false, 88))) {
  279.                 // line 89
  280.                 echo "                            ";
  281.                 if (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 89, $this->source); })()), "asset", [], "any", false, false, false, 89), "assetImages", [], "any", false, false, false, 89)) == 1) && (twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 89, $this->source); })()), "text", [], "any", false, false, false, 89) != ""))) {
  282.                     // line 90
  283.                     echo "                                ";
  284.                     $context["image"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 90, $this->source); })()), "asset", [], "any", false, false, false, 90), "assetImages", [], "any", false, false, false, 90), 0, [], "array", false, false, false, 90);
  285.                     // line 91
  286.                     echo "                                ";
  287.                     $context["image_path"] = (("uploads/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 91, $this->source); })()), "image", [], "any", false, false, false, 91), "locale", [], "any", false, false, false, 91)) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 91, $this->source); })()), "image", [], "any", false, false, false, 91), "filename", [], "any", false, false, false, 91));
  288.                     // line 92
  289.                     echo "                                <a href=\"/";
  290.                     echo twig_escape_filter($this->env, (isset($context["image_path"]) || array_key_exists("image_path", $context) ? $context["image_path"] : (function () { throw new RuntimeError('Variable "image_path" does not exist.', 92, $this->source); })()), "html", null, true);
  291.                     echo "\"
  292.                                    ";
  293.                     // line 93
  294.                     if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 93, $this->source); })()), "image", [], "any", false, false, false, 93), "caption", [], "any", false, false, false, 93))) {
  295.                         echo "title=\"";
  296.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 93, $this->source); })()), "image", [], "any", false, false, false, 93), "caption", [], "any", false, false, false, 93), "html", null, true);
  297.                         echo "\"
  298.                                    ";
  299.                     }
  300.                     // line 94
  301.                     echo "rel=\"js-fancybox-";
  302.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 94, $this->source); })()), "id", [], "any", false, false, false, 94), "html", null, true);
  303.                     echo "\"
  304.                                    class=\"o-tabpannel__content__imagelink js-fancybox\">
  305.                                     ";
  306.                     // line 96
  307.                     echo $this->extensions['Notaris\FrontendBundle\Twig\ResponsiveImageExtension']->responsiveImageSourceFilter((isset($context["image_path"]) || array_key_exists("image_path", $context) ? $context["image_path"] : (function () { throw new RuntimeError('Variable "image_path" does not exist.', 96, $this->source); })()), [0 => 301, 1 => 238], ["filterset" => "responsive_article_image", "sizes" => "(min-width: 960px) 301px, (min-width: 768px and max-width: 960px) 238px", "alt" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 96, $this->source); })()), "image", [], "any", false, false, false, 96), "alt", [], "any", false, false, false, 96)]);
  308.                     echo "
  309.                                 </a>
  310.                             ";
  311.                 }
  312.                 // line 99
  313.                 echo "                        ";
  314.             }
  315.             // line 100
  316.             echo "                    ";
  317.         }
  318.         // line 101
  319.         echo "                    ";
  320.         if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 101, $this->source); })()), "firstParagraphAsset", [], "any", false, false, false, 101))) {
  321.             // line 102
  322.             echo "                        ";
  323.             if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 102, $this->source); })()), "firstParagraphAsset", [], "any", false, false, false, 102), "assetImages", [], "any", false, false, false, 102))) {
  324.                 // line 103
  325.                 echo "                            ";
  326.                 if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 103, $this->source); })()), "firstParagraphAsset", [], "any", false, false, false, 103), "assetImages", [], "any", false, false, false, 103)) == 1)) {
  327.                     // line 104
  328.                     echo "                                ";
  329.                     $context["image"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 104, $this->source); })()), "firstParagraphAsset", [], "any", false, false, false, 104), "assetImages", [], "any", false, false, false, 104), 0, [], "array", false, false, false, 104);
  330.                     // line 105
  331.                     echo "                                ";
  332.                     $context["image_path"] = (("uploads/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 105, $this->source); })()), "image", [], "any", false, false, false, 105), "locale", [], "any", false, false, false, 105)) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 105, $this->source); })()), "image", [], "any", false, false, false, 105), "filename", [], "any", false, false, false, 105));
  333.                     // line 106
  334.                     echo "                                <a href=\"/";
  335.                     echo twig_escape_filter($this->env, (isset($context["image_path"]) || array_key_exists("image_path", $context) ? $context["image_path"] : (function () { throw new RuntimeError('Variable "image_path" does not exist.', 106, $this->source); })()), "html", null, true);
  336.                     echo "\"
  337.                                    ";
  338.                     // line 107
  339.                     if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 107, $this->source); })()), "image", [], "any", false, false, false, 107), "caption", [], "any", false, false, false, 107))) {
  340.                         echo "title=\"";
  341.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 107, $this->source); })()), "image", [], "any", false, false, false, 107), "caption", [], "any", false, false, false, 107), "html", null, true);
  342.                         echo "\"
  343.                                    ";
  344.                     }
  345.                     // line 108
  346.                     echo "rel=\"js-fancybox-";
  347.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 108, $this->source); })()), "id", [], "any", false, false, false, 108), "html", null, true);
  348.                     echo "\"
  349.                                    class=\"o-tabpannel__content__imagelink js-fancybox\">
  350.                                     ";
  351.                     // line 110
  352.                     echo $this->extensions['Notaris\FrontendBundle\Twig\ResponsiveImageExtension']->responsiveImageSourceFilter((isset($context["image_path"]) || array_key_exists("image_path", $context) ? $context["image_path"] : (function () { throw new RuntimeError('Variable "image_path" does not exist.', 110, $this->source); })()), [0 => 301, 1 => 238], ["filterset" => "responsive_article_image", "sizes" => "(min-width: 960px) 301px, (min-width: 768px and max-width: 960px) 238px", "alt" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 110, $this->source); })()), "image", [], "any", false, false, false, 110), "alt", [], "any", false, false, false, 110)]);
  353.                     echo "
  354.                                 </a>
  355.                             ";
  356.                 }
  357.                 // line 113
  358.                 echo "                        ";
  359.             }
  360.             // line 114
  361.             echo "                    ";
  362.         }
  363.         // line 115
  364.         echo "
  365.                     ";
  366.         // line 116
  367.         echo twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 116, $this->source); })()), "text", [], "any", false, false, false, 116);
  368.         echo "
  369.                     <div style=\"clear: both\"></div>
  370.                     ";
  371.         // line 120
  372.         $context['_parent'] = $context;
  373.         $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 120, $this->source); })()), "paragraphs", [], "any", false, false, false, 120), function ($__a__, $__b__) use ($context, $macros) { $context["a"] = $__a__; $context["b"] = $__b__; return (twig_get_attribute($this->env, $this->source, (isset($context["a"]) || array_key_exists("a", $context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.', 120, $this->source); })()), "number", [], "any", false, false, false, 120) <=> twig_get_attribute($this->env, $this->source, (isset($context["b"]) || array_key_exists("b", $context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.', 120, $this->source); })()), "number", [], "any", false, false, false, 120)); }));
  374.         foreach ($context['_seq'] as $context["_key"] => $context["paragraph"]) {
  375.             // line 121
  376.             echo "                        ";
  377.             if ((twig_get_attribute($this->env, $this->source, $context["paragraph"], "subtitle", [], "any", false, false, false, 121) != "")) {
  378.                 // line 122
  379.                 echo "                            <h2>";
  380.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["paragraph"], "subtitle", [], "any", false, false, false, 122), "html", null, true);
  381.                 echo "</h2>
  382.                         ";
  383.             }
  384.             // line 124
  385.             echo "                        ";
  386.             if ( !(null === twig_get_attribute($this->env, $this->source, $context["paragraph"], "asset", [], "any", false, false, false, 124))) {
  387.                 // line 125
  388.                 echo "                            ";
  389.                 if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["paragraph"], "asset", [], "any", false, false, false, 125), "assetImages", [], "any", false, false, false, 125))) {
  390.                     // line 126
  391.                     echo "                                ";
  392.                     if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["paragraph"], "asset", [], "any", false, false, false, 126), "assetImages", [], "any", false, false, false, 126)) == 1)) {
  393.                         // line 127
  394.                         echo "                                    ";
  395.                         $context["image"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["paragraph"], "asset", [], "any", false, false, false, 127), "assetImages", [], "any", false, false, false, 127), 0, [], "array", false, false, false, 127);
  396.                         // line 128
  397.                         echo "                                    ";
  398.                         $context["image_path"] = (("uploads/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 128, $this->source); })()), "image", [], "any", false, false, false, 128), "locale", [], "any", false, false, false, 128)) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 128, $this->source); })()), "image", [], "any", false, false, false, 128), "filename", [], "any", false, false, false, 128));
  399.                         // line 129
  400.                         echo "                                    <a href=\"/";
  401.                         echo twig_escape_filter($this->env, (isset($context["image_path"]) || array_key_exists("image_path", $context) ? $context["image_path"] : (function () { throw new RuntimeError('Variable "image_path" does not exist.', 129, $this->source); })()), "html", null, true);
  402.                         echo "\"
  403.                                        ";
  404.                         // line 130
  405.                         if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 130, $this->source); })()), "image", [], "any", false, false, false, 130), "caption", [], "any", false, false, false, 130))) {
  406.                             echo "title=\"";
  407.                             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 130, $this->source); })()), "image", [], "any", false, false, false, 130), "caption", [], "any", false, false, false, 130), "html", null, true);
  408.                             echo "\"
  409.                                        ";
  410.                         }
  411.                         // line 131
  412.                         echo "rel=\"js-fancybox-";
  413.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["paragraph"], "id", [], "any", false, false, false, 131), "html", null, true);
  414.                         echo "\"
  415.                                        class=\"o-tabpannel__content__imagelink js-fancybox";
  416.                         // line 132
  417.                         if (((twig_get_attribute($this->env, $this->source, $context["paragraph"], "text", [], "any", false, false, false, 132) == "") || (twig_get_attribute($this->env, $this->source, $context["paragraph"], "text", [], "any", false, false, false, 132) == null))) {
  418.                             echo " img-full-width";
  419.                         }
  420.                         echo "\">
  421.                                         ";
  422.                         // line 133
  423.                         if (((twig_get_attribute($this->env, $this->source, $context["paragraph"], "text", [], "any", false, false, false, 133) == "") || (twig_get_attribute($this->env, $this->source, $context["paragraph"], "text", [], "any", false, false, false, 133) == null))) {
  424.                             // line 134
  425.                             echo "                                            <img src=\"/";
  426.                             echo twig_escape_filter($this->env, (isset($context["image_path"]) || array_key_exists("image_path", $context) ? $context["image_path"] : (function () { throw new RuntimeError('Variable "image_path" does not exist.', 134, $this->source); })()), "html", null, true);
  427.                             echo "\" alt=\"";
  428.                             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 134, $this->source); })()), "image", [], "any", false, false, false, 134), "alt", [], "any", false, false, false, 134), "html", null, true);
  429.                             echo "\">
  430.                                         ";
  431.                         } else {
  432.                             // line 136
  433.                             echo "                                            ";
  434.                             echo $this->extensions['Notaris\FrontendBundle\Twig\ResponsiveImageExtension']->responsiveImageSourceFilter((isset($context["image_path"]) || array_key_exists("image_path", $context) ? $context["image_path"] : (function () { throw new RuntimeError('Variable "image_path" does not exist.', 136, $this->source); })()), [0 => 301, 1 => 238], ["filterset" => "responsive_article_image", "sizes" => "(min-width: 960px) 301px, (min-width: 768px and max-width: 960px) 238px", "alt" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 136, $this->source); })()), "image", [], "any", false, false, false, 136), "alt", [], "any", false, false, false, 136)]);
  435.                             echo "
  436.                                         ";
  437.                         }
  438.                         // line 138
  439.                         echo "                                    </a>
  440.                                 ";
  441.                     }
  442.                     // line 140
  443.                     echo "                            ";
  444.                 }
  445.                 // line 141
  446.                 echo "                        ";
  447.             }
  448.             // line 142
  449.             echo "                        ";
  450.             echo twig_get_attribute($this->env, $this->source, $context["paragraph"], "text", [], "any", false, false, false, 142);
  451.             echo "
  452.                         <div style=\"clear: both\"></div>
  453.                     ";
  454.         }
  455.         $_parent = $context['_parent'];
  456.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['paragraph'], $context['_parent'], $context['loop']);
  457.         $context = array_intersect_key($context, $_parent) + $_parent;
  458.         // line 145
  459.         echo "
  460.                     ";
  461.         // line 147
  462.         echo "                    ";
  463.         if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 147, $this->source); })()), "asset", [], "any", false, false, false, 147))) {
  464.             // line 148
  465.             echo "                        ";
  466.             if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 148, $this->source); })()), "asset", [], "any", false, false, false, 148), "assetImages", [], "any", false, false, false, 148))) {
  467.                 // line 149
  468.                 echo "                            ";
  469.                 if ( !((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 149, $this->source); })()), "asset", [], "any", false, false, false, 149), "assetImages", [], "any", false, false, false, 149)) == 1) && (twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 149, $this->source); })()), "text", [], "any", false, false, false, 149) != ""))) {
  470.                     // line 150
  471.                     echo "                                ";
  472.                     $context['_parent'] = $context;
  473.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 150, $this->source); })()), "asset", [], "any", false, false, false, 150), "assetImages", [], "any", false, false, false, 150));
  474.                     foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  475.                         // line 151
  476.                         echo "                                    ";
  477.                         $context["image_path"] = (("uploads/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "image", [], "any", false, false, false, 151), "locale", [], "any", false, false, false, 151)) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "image", [], "any", false, false, false, 151), "filename", [], "any", false, false, false, 151));
  478.                         // line 152
  479.                         echo "                                    <a href=\"/";
  480.                         echo twig_escape_filter($this->env, (isset($context["image_path"]) || array_key_exists("image_path", $context) ? $context["image_path"] : (function () { throw new RuntimeError('Variable "image_path" does not exist.', 152, $this->source); })()), "html", null, true);
  481.                         echo "\"
  482.                                        ";
  483.                         // line 153
  484.                         if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "image", [], "any", false, false, false, 153), "caption", [], "any", false, false, false, 153))) {
  485.                             echo "title=\"";
  486.                             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "image", [], "any", false, false, false, 153), "caption", [], "any", false, false, false, 153), "html", null, true);
  487.                             echo "\"
  488.                                        ";
  489.                         }
  490.                         // line 154
  491.                         echo "rel=\"js-fancybox-";
  492.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 154, $this->source); })()), "id", [], "any", false, false, false, 154), "html", null, true);
  493.                         echo "\"
  494.                                        class=\"js-fancybox u-display--inlineblock u-margin-bottom-small\">
  495.                                         ";
  496.                         // line 156
  497.                         echo $this->extensions['Notaris\FrontendBundle\Twig\ResponsiveImageExtension']->responsiveImageSourceFilter((isset($context["image_path"]) || array_key_exists("image_path", $context) ? $context["image_path"] : (function () { throw new RuntimeError('Variable "image_path" does not exist.', 156, $this->source); })()), [0 => 710, 1 => 477], ["filterset" => "responsive_article_image", "sizes" => "(min-width: 960px) 710px, (min-width: 768px and max-width: 960px) 477px", "alt" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "image", [], "any", false, false, false, 156), "alt", [], "any", false, false, false, 156)]);
  498.                         echo "
  499.                                         ";
  500.                         // line 157
  501.                         if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "image", [], "any", false, false, false, 157), "caption", [], "any", false, false, false, 157))) {
  502.                             // line 158
  503.                             echo "                                            <p class=\"u-margin-top-tiny\">";
  504.                             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["image"], "image", [], "any", false, false, false, 158), "caption", [], "any", false, false, false, 158), "html", null, true);
  505.                             echo "</p>
  506.                                         ";
  507.                         }
  508.                         // line 160
  509.                         echo "                                    </a>
  510.                                 ";
  511.                     }
  512.                     $_parent = $context['_parent'];
  513.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  514.                     $context = array_intersect_key($context, $_parent) + $_parent;
  515.                     // line 162
  516.                     echo "                            ";
  517.                 }
  518.                 // line 163
  519.                 echo "                        ";
  520.             }
  521.             // line 164
  522.             echo "
  523.                         ";
  524.             // line 165
  525.             if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 165, $this->source); })()), "asset", [], "any", false, false, false, 165), "assetVideoPaths", [], "any", false, false, false, 165)) > 0)) {
  526.                 // line 166
  527.                 echo "                            <div>
  528.                                 ";
  529.                 // line 167
  530.                 $context['_parent'] = $context;
  531.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 167, $this->source); })()), "asset", [], "any", false, false, false, 167), "assetVideoPaths", [], "any", false, false, false, 167));
  532.                 foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  533.                     // line 168
  534.                     echo "                                    ";
  535.                     if (( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["video"], "videoPath", [], "any", false, false, false, 168), "youtube", [], "any", false, false, false, 168)) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["video"], "videoPath", [], "any", false, false, false, 168), "youtube", [], "any", false, false, false, 168) != ""))) {
  536.                         // line 169
  537.                         echo "                                        <iframe
  538.                                             class=\"o-tabpannel__content__youtube js-tabpannel-youtube u-margin-bottom-small\"
  539.                                             frameborder=\"0\" allowfullscreen=\"1\" title=\"YouTube video player\" width=\"490\"
  540.                                             height=\"280\"
  541.                                             src=\"//www.youtube-nocookie.com/embed/";
  542.                         // line 173
  543.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["video"], "videoPath", [], "any", false, false, false, 173), "youtube", [], "any", false, false, false, 173), "html", null, true);
  544.                         echo "?enablejsapi=1&widgetid=1\"
  545.                                             kwframeid=\"2\"></iframe>
  546.                                     ";
  547.                     }
  548.                     // line 176
  549.                     echo "                                    ";
  550.                     if (( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["video"], "videoPath", [], "any", false, false, false, 176), "path", [], "any", false, false, false, 176)) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["video"], "videoPath", [], "any", false, false, false, 176), "path", [], "any", false, false, false, 176) != ""))) {
  551.                         // line 177
  552.                         echo "                                        <video
  553.                                             class=\"o-tabpannel__content__video js-tabpannel-video u-margin-bottom-small\"
  554.                                             controls>
  555.                                             <source src=\"/video/";
  556.                         // line 180
  557.                         echo twig_escape_filter($this->env, (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 180, $this->source); })()), "html", null, true);
  558.                         echo "/";
  559.                         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["video"], "videoPath", [], "any", false, false, false, 180), "path", [], "any", false, false, false, 180), "html", null, true);
  560.                         echo "\">
  561.                                         </video>
  562.                                     ";
  563.                     }
  564.                     // line 183
  565.                     echo "                                ";
  566.                 }
  567.                 $_parent = $context['_parent'];
  568.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  569.                 $context = array_intersect_key($context, $_parent) + $_parent;
  570.                 // line 184
  571.                 echo "                            </div>
  572.                         ";
  573.             }
  574.             // line 186
  575.             echo "                    ";
  576.         }
  577.         // line 187
  578.         echo "
  579.                     ";
  580.         // line 188
  581.         if ((twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 188, $this->source); })()), "asset", [], "any", false, false, false, 188) && ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 188, $this->source); })()), "asset", [], "any", false, false, false, 188), "assetLinks", [], "any", false, false, false, 188)) > 0) || (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 188, $this->source); })()), "asset", [], "any", false, false, false, 188), "assetAttachments", [], "any", false, false, false, 188)) > 0)))) {
  582.             // line 189
  583.             echo "                        <ul class=\"u-margin-top-small\">
  584.                             ";
  585.             // line 190
  586.             $context['_parent'] = $context;
  587.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 190, $this->source); })()), "asset", [], "any", false, false, false, 190), "assetLinks", [], "any", false, false, false, 190));
  588.             foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
  589.                 // line 191
  590.                 echo "                                <li><a href=\"";
  591.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["link"], "link", [], "any", false, false, false, 191), "url", [], "any", false, false, false, 191), "html", null, true);
  592.                 echo "\" title=\"";
  593.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["link"], "link", [], "any", false, false, false, 191), "title", [], "any", false, false, false, 191), "html", null, true);
  594.                 echo "\"
  595.                                        ";
  596.                 // line 192
  597.                 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["link"], "link", [], "any", false, false, false, 192), "newWindow", [], "any", false, false, false, 192)) {
  598.                     echo "target=\"_blank\"";
  599.                 }
  600.                 echo ">";
  601.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["link"], "link", [], "any", false, false, false, 192), "title", [], "any", false, false, false, 192), "html", null, true);
  602.                 echo "</a>
  603.                                 </li>
  604.                             ";
  605.             }
  606.             $_parent = $context['_parent'];
  607.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
  608.             $context = array_intersect_key($context, $_parent) + $_parent;
  609.             // line 195
  610.             echo "                            ";
  611.             $context['_parent'] = $context;
  612.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 195, $this->source); })()), "asset", [], "any", false, false, false, 195), "assetAttachments", [], "any", false, false, false, 195));
  613.             foreach ($context['_seq'] as $context["_key"] => $context["attachment"]) {
  614.                 // line 196
  615.                 echo "                                ";
  616.                 $context["fileType"] = twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["attachment"], "attachment", [], "any", false, false, false, 196), "filename", [], "any", false, false, false, 196), ".");
  617.                 // line 197
  618.                 echo "                                ";
  619.                 $context["fileType"] = twig_upper_filter($this->env, twig_last($this->env, (isset($context["fileType"]) || array_key_exists("fileType", $context) ? $context["fileType"] : (function () { throw new RuntimeError('Variable "fileType" does not exist.', 197, $this->source); })())));
  620.                 // line 198
  621.                 echo "                                ";
  622.                 $context["title"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["attachment"], "attachment", [], "any", false, false, false, 198), "title", [], "any", false, false, false, 198);
  623.                 // line 199
  624.                 echo "                                ";
  625.                 if (((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 199, $this->source); })()) == "")) {
  626.                     // line 200
  627.                     echo "                                    ";
  628.                     $context["title"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["attachment"], "attachment", [], "any", false, false, false, 200), "originalFilename", [], "any", false, false, false, 200);
  629.                     // line 201
  630.                     echo "                                ";
  631.                 }
  632.                 // line 202
  633.                 echo "                                ";
  634.                 $context["foo"] = twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["attachment"], "attachment", [], "any", false, false, false, 202), "filename", [], "any", false, false, false, 202), "/", 2);
  635.                 // line 203
  636.                 echo "                                ";
  637.                 if ((twig_length_filter($this->env, (isset($context["foo"]) || array_key_exists("foo", $context) ? $context["foo"] : (function () { throw new RuntimeError('Variable "foo" does not exist.', 203, $this->source); })())) >= 1)) {
  638.                     $context["filename"] = twig_get_attribute($this->env, $this->source, (isset($context["foo"]) || array_key_exists("foo", $context) ? $context["foo"] : (function () { throw new RuntimeError('Variable "foo" does not exist.', 203, $this->source); })()), 1, [], "array", false, false, false, 203);
  639.                 }
  640.                 // line 204
  641.                 echo "                                ";
  642.                 if (array_key_exists("filename", $context)) {
  643.                     // line 205
  644.                     echo "                                <li>
  645.                                     <a href=\"/download/";
  646.                     // line 206
  647.                     echo twig_escape_filter($this->env, twig_urlencode_filter((isset($context["filename"]) || array_key_exists("filename", $context) ? $context["filename"] : (function () { throw new RuntimeError('Variable "filename" does not exist.', 206, $this->source); })())), "html", null, true);
  648.                     echo "\"
  649.                                        title=\"";
  650.                     // line 207
  651.                     echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 207, $this->source); })()), "html", null, true);
  652.                     echo "\">";
  653.                     echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 207, $this->source); })()), "html", null, true);
  654.                     echo "
  655.                                         (";
  656.                     // line 208
  657.                     echo twig_escape_filter($this->env, (isset($context["fileType"]) || array_key_exists("fileType", $context) ? $context["fileType"] : (function () { throw new RuntimeError('Variable "fileType" does not exist.', 208, $this->source); })()), "html", null, true);
  658.                     echo " ";
  659.                     echo twig_escape_filter($this->env, twig_replace_filter($this->extensions['Notaris\FrontendBundle\Twig\FormatBytesExtension']->format_bytes(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["attachment"], "attachment", [], "any", false, false, false, 208), "byte", [], "any", false, false, false, 208)), ["." => ","]), "html", null, true);
  660.                     echo "
  661.                                         )</a></li>
  662.                                 ";
  663.                 }
  664.                 // line 211
  665.                 echo "                            ";
  666.             }
  667.             $_parent = $context['_parent'];
  668.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attachment'], $context['_parent'], $context['loop']);
  669.             $context = array_intersect_key($context, $_parent) + $_parent;
  670.             // line 212
  671.             echo "                        </ul>
  672.                     ";
  673.         }
  674.         // line 214
  675.         echo "
  676.                     ";
  677.         // line 215
  678.         if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 215, $this->source); })()), "tags", [], "any", false, false, false, 215)) > 0)) {
  679.             // line 216
  680.             echo "                        <div class=\"c-tags u-margin-bottom-small js-tags\">
  681.                             ";
  682.             // line 217
  683.             $context['_parent'] = $context;
  684.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 217, $this->source); })()), "tags", [], "any", false, false, false, 217));
  685.             foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
  686.                 // line 218
  687.                 echo "                                <a data-slug=\"";
  688.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "slug", [], "any", false, false, false, 218), "html", null, true);
  689.                 echo "\"
  690.                                    data-tag-clicked=\"";
  691.                 // line 219
  692.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag_clicked");
  693.                 echo "\"
  694.                                    href=\"";
  695.                 // line 220
  696.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag", ["tagSlug" => twig_get_attribute($this->env, $this->source, $context["tag"], "slug", [], "any", false, false, false, 220)]), "html", null, true);
  697.                 echo "\"
  698.                                    title=\"";
  699.                 // line 221
  700.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 221), "html", null, true);
  701.                 echo "\" class=\"c-tags__item\"><small>";
  702.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 221), "html", null, true);
  703.                 echo "</small></a>
  704.                             ";
  705.             }
  706.             $_parent = $context['_parent'];
  707.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
  708.             $context = array_intersect_key($context, $_parent) + $_parent;
  709.             // line 223
  710.             echo "                        </div>
  711.                     ";
  712.         }
  713.         // line 225
  714.         echo "
  715.                     ";
  716.         // line 226
  717.         if ((twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 226, $this->source); })()), "source", [], "any", false, false, false, 226) != "")) {
  718.             // line 227
  719.             echo "                        <p class=\"u-margin-top-tiny\">";
  720.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_bron"), "html", null, true);
  721.             echo ": ";
  722.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 227, $this->source); })()), "source", [], "any", false, false, false, 227), "html", null, true);
  723.             echo "</p>
  724.                     ";
  725.         }
  726.         // line 229
  727.         echo "                    ";
  728.         if ((twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 229, $this->source); })()), "author", [], "any", false, false, false, 229) != "")) {
  729.             // line 230
  730.             echo "                        <p class=\"u-margin-top-tiny\">Auteur: ";
  731.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 230, $this->source); })()), "author", [], "any", false, false, false, 230), "html", null, true);
  732.             echo "</p>
  733.                     ";
  734.         }
  735.         // line 232
  736.         echo "
  737.                     <article class=\"socialmedia border-bottom\">
  738.                         <!-- linkedin -->
  739.                         <a href=\"http://www.linkedin.com/shareArticle?url=";
  740.         // line 236
  741.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 236, $this->source); })()), "request", [], "any", false, false, false, 236), "uri", [], "any", false, false, false, 236), "html", null, true);
  742.         echo "&title=";
  743.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 236, $this->source); })()), "meta", [], "any", false, false, false, 236), "ogTitle", [], "any", false, false, false, 236), "html", null, true);
  744.         echo "&summary=";
  745.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 236, $this->source); })()), "meta", [], "any", false, false, false, 236), "ogDescription", [], "any", false, false, false, 236), "html", null, true);
  746.         echo "\"
  747.                            target=\"_blank\" class=\"share-btn linkedin\">
  748.                             <img style=\"width:60px!important;height:20px;\" src=\"/images/linkedin.png\"/>
  749.                         </a>
  750.                         <div class=\"spacer\">&nbsp;</div>
  751.                         ";
  752.         // line 244
  753.         echo "                        ";
  754.         // line 245
  755.         echo "
  756.                         ";
  757.         // line 247
  758.         echo "
  759.                         ";
  760.         // line 249
  761.         echo "                        ";
  762.         // line 250
  763.         echo "                        ";
  764.         // line 251
  765.         echo "                        ";
  766.         // line 252
  767.         echo "
  768.                         ";
  769.         // line 254
  770.         echo "                        ";
  771.         // line 255
  772.         echo "                        ";
  773.         // line 256
  774.         echo "                        ";
  775.         // line 257
  776.         echo "                        ";
  777.         // line 258
  778.         echo "                        ";
  779.         // line 259
  780.         echo "
  781.                         <div class=\"fb-share-button\"
  782.                              data-href=\"";
  783.         // line 261
  784.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 261, $this->source); })()), "request", [], "any", false, false, false, 261), "attributes", [], "any", false, false, false, 261), "get", [0 => "_route"], "method", false, false, false, 261), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 261, $this->source); })()), "request", [], "any", false, false, false, 261), "attributes", [], "any", false, false, false, 261), "get", [0 => "_route_params"], "method", false, false, false, 261)), "html", null, true);
  785.         echo "\"
  786.                              data-layout=\"button\"></div>
  787.                         <div class=\"spacer\">&nbsp;</div>
  788.                         <!-- twitter share -->
  789.                         <a class=\"twitter-share-button\" target=\"_blank\"
  790.                            href=\"https://twitter.com/intent/tweet?url=";
  791.         // line 269
  792.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 269, $this->source); })()), "request", [], "any", false, false, false, 269), "uri", [], "any", false, false, false, 269), "html", null, true);
  793.         echo "\">
  794.                             <div class=\"u-display--inlineblock\">
  795.                                 <div class=\"o-media__img u-margin-right-tiny\">
  796.                                     <img src=\"";
  797.         // line 272
  798.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/images/icons/social/x-share-button-icon-not.svg"), "html", null, true);
  799.         echo "\" alt=\"X Share\" title=\"X Share\" height=\"25\" width=\"64\" class=\"c-social--color\"/>
  800.                                 </div>
  801.                             </div>
  802.                         </a>
  803.                         <div class=\"spacer\">&nbsp;</div>
  804.                         <!-- google plus -->
  805.                         <!-- Plaats deze tag waar je de +1 knop wilt weergeven. -->
  806.                         <div class=\"g-plusone\" data-annotation=\"inline\" data-width=\"120\"></div>
  807.                         <div class=\"cleaner\">&nbsp;</div>
  808.                     </article>
  809.                     <article class=\"no-border\">
  810.                         <div class=\"prevnext-pages\">
  811.                             ";
  812.         // line 292
  813.         if (((isset($context["subsiteslug"]) || array_key_exists("subsiteslug", $context) ? $context["subsiteslug"] : (function () { throw new RuntimeError('Variable "subsiteslug" does not exist.', 292, $this->source); })()) != "")) {
  814.             // line 293
  815.             echo "                                <a href=\"";
  816.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_subsite_news", ["subsiteslug" => (isset($context["subsiteslug"]) || array_key_exists("subsiteslug", $context) ? $context["subsiteslug"] : (function () { throw new RuntimeError('Variable "subsiteslug" does not exist.', 293, $this->source); })())]), "html", null, true);
  817.             echo "\"
  818.                                    title=\"";
  819.             // line 294
  820.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_terugnaarlijst"), "html", null, true);
  821.             echo "\">";
  822.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_terugnaarlijst"), "html", null, true);
  823.             echo "</a>
  824.                             ";
  825.         } else {
  826.             // line 296
  827.             echo "                                <a href=\"";
  828.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_news");
  829.             echo "\"
  830.                                    title=\"";
  831.             // line 297
  832.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_terugnaarlijst"), "html", null, true);
  833.             echo "\">";
  834.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nw_terugnaarlijst"), "html", null, true);
  835.             echo "</a>
  836.                             ";
  837.         }
  838.         // line 299
  839.         echo "                        </div>
  840.                         <!--<p><img src=\"/imgs/ic_pm.gif\" alt=\"offici&euml;le Persmededeling\" class=\"ic-pm\" /> = Persmededeling</p>-->
  841.                     </article>
  842.                     <div class=\"cleaner\">&nbsp;</div>
  843.                 </div>
  844.             </section>
  845.             ";
  846.         // line 310
  847.         echo "            ";
  848.         // line 311
  849.         echo "
  850.         </div>
  851.         <!-- #### CONTENT #### -->
  852.         ";
  853.         // line 330
  854.         echo "        ";
  855.         $this->loadTemplate("@NotarisFrontend/navigation/mobilesubnav.html.twig", "@NotarisFrontend/news/detail.html.twig", 330)->display(twig_array_merge($context, ["websiteSlug" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("slg_nieuws"), "isSven" => false, "isHome" => false, "subsite" => (isset($context["subsite"]) || array_key_exists("subsite", $context) ? $context["subsite"] : (function () { throw new RuntimeError('Variable "subsite" does not exist.', 330, $this->source); })())]));
  856.         // line 331
  857.         echo "
  858.     </section>
  859. ";
  860.         
  861.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  862.         
  863.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  864.     }
  865.     // line 338
  866.     public function block_extrajs($context, array $blocks = [])
  867.     {
  868.         $macros = $this->macros;
  869.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  870.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extrajs"));
  871.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  872.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extrajs"));
  873.         // line 339
  874.         echo "    <script>
  875.         // \$.cookie('cookie-settings-statistics') === 'true' && applyAnalyticsJs();
  876.         // \$.cookie('cookie-settings-social') === 'true' && applySocialJs();
  877.     </script>
  878.     <script type=\"application/ld+json\">
  879.         {
  880.             \"@context\": \"https://schema.org\",
  881.             \"@type\": \"NewsArticle\",
  882.             \"headline\": \"";
  883.         // line 347
  884.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 347, $this->source); })()), "title", [], "any", false, false, false, 347), "html", null, true);
  885.         echo "\",
  886.             ";
  887.         // line 348
  888.         if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 348, $this->source); })()), "asset", [], "any", false, false, false, 348))) {
  889.             // line 349
  890.             if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 349, $this->source); })()), "asset", [], "any", false, false, false, 349), "assetImages", [], "any", false, false, false, 349))) {
  891.                 // line 350
  892.                 if (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 350, $this->source); })()), "asset", [], "any", false, false, false, 350), "assetImages", [], "any", false, false, false, 350)) == 1) && (twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 350, $this->source); })()), "text", [], "any", false, false, false, 350) != ""))) {
  893.                     // line 351
  894.                     $context["image"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 351, $this->source); })()), "asset", [], "any", false, false, false, 351), "assetImages", [], "any", false, false, false, 351), 0, [], "array", false, false, false, 351);
  895.                     // line 352
  896.                     $context["image_path"] = (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 352, $this->source); })()), "request", [], "any", false, false, false, 352), "schemeAndHttpHost", [], "any", false, false, false, 352) . "/uploads/") . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 352, $this->source); })()), "image", [], "any", false, false, false, 352), "locale", [], "any", false, false, false, 352)) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["image"]) || array_key_exists("image", $context) ? $context["image"] : (function () { throw new RuntimeError('Variable "image" does not exist.', 352, $this->source); })()), "image", [], "any", false, false, false, 352), "filename", [], "any", false, false, false, 352));
  897.                     // line 353
  898.                     echo "\"image\": [
  899.                 \"";
  900.                     // line 354
  901.                     echo twig_escape_filter($this->env, (isset($context["image_path"]) || array_key_exists("image_path", $context) ? $context["image_path"] : (function () { throw new RuntimeError('Variable "image_path" does not exist.', 354, $this->source); })()), "html", null, true);
  902.                     echo "\"
  903.             ],
  904.             ";
  905.                 }
  906.             }
  907.         }
  908.         // line 359
  909.         echo "\"datePublished\": \"";
  910.         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 359, $this->source); })()), "publicationDate", [], "any", false, false, false, 359), "Y-m-d"), "html", null, true);
  911.         echo "\",
  912.             \"dateModified\": \"";
  913.         // line 360
  914.         echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 360, $this->source); })()), "publicationDate", [], "any", false, false, false, 360), "Y-m-d"), "html", null, true);
  915.         echo "\"
  916.             ";
  917.         // line 361
  918.         if ((twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 361, $this->source); })()), "source", [], "any", false, false, false, 361) != "")) {
  919.             // line 362
  920.             echo ",\"author\": {
  921.                 \"@type\": \"Organization\",
  922.                 \"name\": \"";
  923.             // line 364
  924.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["newsitem"]) || array_key_exists("newsitem", $context) ? $context["newsitem"] : (function () { throw new RuntimeError('Variable "newsitem" does not exist.', 364, $this->source); })()), "source", [], "any", false, false, false, 364), "html", null, true);
  925.             echo "\"
  926.             }
  927.         ";
  928.         }
  929.         // line 367
  930.         echo "}
  931.     </script>
  932. ";
  933.         
  934.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  935.         
  936.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  937.     }
  938.     // line 371
  939.     public function block_extracss($context, array $blocks = [])
  940.     {
  941.         $macros = $this->macros;
  942.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  943.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extracss"));
  944.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  945.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extracss"));
  946.         // line 372
  947.         echo "    <style>
  948.         .img-full-width, .img-full-width img {
  949.             width: 100%;
  950.         }
  951.     </style>
  952. ";
  953.         
  954.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  955.         
  956.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  957.     }
  958.     public function getTemplateName()
  959.     {
  960.         return "@NotarisFrontend/news/detail.html.twig";
  961.     }
  962.     public function isTraitable()
  963.     {
  964.         return false;
  965.     }
  966.     public function getDebugInfo()
  967.     {
  968.         return array (  1013 => 372,  1003 => 371,  991 => 367,  985 => 364,  981 => 362,  979 => 361,  975 => 360,  970 => 359,  962 => 354,  959 => 353,  957 => 352,  955 => 351,  953 => 350,  951 => 349,  949 => 348,  945 => 347,  935 => 339,  925 => 338,  910 => 331,  907 => 330,  902 => 311,  900 => 310,  888 => 299,  881 => 297,  876 => 296,  869 => 294,  864 => 293,  862 => 292,  839 => 272,  833 => 269,  822 => 261,  818 => 259,  816 => 258,  814 => 257,  812 => 256,  810 => 255,  808 => 254,  805 => 252,  803 => 251,  801 => 250,  799 => 249,  796 => 247,  793 => 245,  791 => 244,  777 => 236,  771 => 232,  765 => 230,  762 => 229,  754 => 227,  752 => 226,  749 => 225,  745 => 223,  735 => 221,  731 => 220,  727 => 219,  722 => 218,  718 => 217,  715 => 216,  713 => 215,  710 => 214,  706 => 212,  700 => 211,  692 => 208,  686 => 207,  682 => 206,  679 => 205,  676 => 204,  671 => 203,  668 => 202,  665 => 201,  662 => 200,  659 => 199,  656 => 198,  653 => 197,  650 => 196,  645 => 195,  632 => 192,  625 => 191,  621 => 190,  618 => 189,  616 => 188,  613 => 187,  610 => 186,  606 => 184,  600 => 183,  592 => 180,  587 => 177,  584 => 176,  578 => 173,  572 => 169,  569 => 168,  565 => 167,  562 => 166,  560 => 165,  557 => 164,  554 => 163,  551 => 162,  544 => 160,  538 => 158,  536 => 157,  532 => 156,  526 => 154,  519 => 153,  514 => 152,  511 => 151,  506 => 150,  503 => 149,  500 => 148,  497 => 147,  494 => 145,  484 => 142,  481 => 141,  478 => 140,  474 => 138,  468 => 136,  460 => 134,  458 => 133,  452 => 132,  447 => 131,  440 => 130,  435 => 129,  432 => 128,  429 => 127,  426 => 126,  423 => 125,  420 => 124,  414 => 122,  411 => 121,  407 => 120,  400 => 116,  397 => 115,  394 => 114,  391 => 113,  385 => 110,  379 => 108,  372 => 107,  367 => 106,  364 => 105,  361 => 104,  358 => 103,  355 => 102,  352 => 101,  349 => 100,  346 => 99,  340 => 96,  334 => 94,  327 => 93,  322 => 92,  319 => 91,  316 => 90,  313 => 89,  310 => 88,  307 => 87,  304 => 85,  298 => 83,  295 => 82,  289 => 80,  287 => 79,  283 => 78,  278 => 77,  272 => 74,  260 => 73,  256 => 71,  253 => 70,  246 => 55,  239 => 53,  234 => 52,  227 => 50,  222 => 49,  220 => 48,  214 => 45,  211 => 44,  207 => 42,  203 => 40,  193 => 39,  179 => 35,  171 => 31,  169 => 30,  164 => 28,  159 => 26,  154 => 24,  147 => 22,  142 => 21,  132 => 20,  119 => 14,  109 => 13,  91 => 8,  83 => 6,  80 => 5,  70 => 4,  59 => 1,  57 => 18,  55 => 17,  53 => 12,  40 => 1,);
  969.     }
  970.     public function getSourceContext()
  971.     {
  972.         return new Source("{% extends '@NotarisFrontend/layout2017.html.twig' %}
  973. {% block title %}
  974.     {% if notaryId is defined %}
  975.         <title>{{ info.header1  | replace({\"<BR />\":\" \"}) }} - {{ subsite.pageTitle }}</title>
  976.     {% else %}
  977.         <title>{{ newsitem.title }} | {{ 'alg_basetitle_nondash' | trans }} - {{ 'mn_nieuws' | trans }}</title>
  978.     {% endif %}
  979. {% endblock %}
  980. {% set canonicalLink = url_scheme ~ '://www.' ~ _context['url_' ~ locale] ~ path('notaris_frontend_news_detail', {slug: newsitem.slug}) %}
  981. {% block extralinks %}
  982.     <link rel=\"canonical\" href=\"{{ canonicalLink }}\"  />
  983. {% endblock %}
  984. {% set linked_url_nl = url_nl ~ path('notaris_frontend_news.nl') %}
  985. {% set linked_url_fr = url_fr ~ path('notaris_frontend_news.fr') %}
  986. {% block extrameta %}
  987.     <meta name=\"keywords\" content=\"{{ subsite.meta.metaKeywords }}\"/>
  988.     <meta name=\"description\" lang=\"{{ locale }}\" content=\"{{ subsite.meta.metaDescription }}\"/>
  989.     <meta property=\"og:title\" content=\"{{ newsitem.meta.ogTitle }}\"/>
  990.     <meta property=\"og:type\" content=\"article\"/>
  991.     <meta property=\"og:url\" content=\"{{ canonicalLink }}\"/>
  992.     <meta property=\"og:description\" content=\"{{ newsitem.meta.ogDescription }}\"/>
  993.     {% if shareImage %}
  994.         <meta property=\"og:image\" content=\"{{ shareImage }}\" />
  995.         <meta property=\"og:image:width\" content=\"1200\" />
  996.         <meta property=\"og:image:height\" content=\"630\" />
  997.     {% else %}
  998.         {{ parent() }}
  999.     {% endif %}
  1000. {% endblock %}
  1001. {% block body %}
  1002.     <section class=\"content u-padding-top-large\">
  1003.         {{ include('@NotarisFrontend/module/sidenav.html.twig', {'subsite': subsite }) }}
  1004.         {#{ include('@NotarisFrontend/News/_news_sidenav.html.twig', {'subsite': subsite }) }#}
  1005.         <div id=\"content-center\" class=\"content-center-large {{ subsite.stylesheet }}\">
  1006.             <div id=\"content-center-header\">
  1007.                 <div class=\"prevnext-pages border-bottom prevnext-pages-color\">
  1008.                     {% if subsiteslug != '' %}
  1009.                         <a href=\"{{ path('notaris_frontend_subsite_news', {'subsiteslug':subsiteslug}) }}\"
  1010.                            title=\"{{ 'nw_volledigenieuwslijst' | trans }}\">{{ 'nw_volledigenieuwslijst' | trans }}</a>
  1011.                     {% else %}
  1012.                         <a href=\"{{ path('notaris_frontend_news') }}\"
  1013.                            title=\"{{ 'nw_volledigenieuwslijst' | trans }}\">{{ 'nw_volledigenieuwslijst' | trans }}</a>
  1014.                     {% endif %}
  1015.                 </div>
  1016.             </div>
  1017.             <section id=\"info\">
  1018.                 <div id=\"info-content\" class=\"niveau1 u-wysiwyg\">
  1019.                     {# <h3 class=\"u-h2 u-margin-bottom-tiny u-text-lineheight-normal u-margin-top-small u-wysiwyg__title\">  @TODO IONEL: SEO h1
  1020.                         {% if newsitem.isPers %}
  1021.                             <div class=\"c-tooltip c-tooltip--top c-tooltip--5-up u-text-inline\">
  1022.                                 <span
  1023.                                     class=\"{% if lastPart == subsite.slug %}u-bg-{{ subsite.stylesheet }} {% else %}u-bg-primary {% endif %}u-color-white o-tabpannel__label\">{{ 'nw_pm' | trans }}</span>
  1024.                                 <p class=\"c-tooltip__news\">{{ 'nw_pm_meaning' | trans }}</p>
  1025.                             </div>
  1026.                         {% endif %}
  1027.                         {{ newsitem.title }}
  1028.                     </h3> #}
  1029.                     {% if newsitem.isPers %}
  1030.                             <div class=\"c-tooltip c-tooltip--top c-tooltip--5-up u-text-inline s-ctsm-settpm u-display--inline\">
  1031.                                 <span
  1032.                                     class=\"{% if lastPart == subsite.slug %}u-bg-{{ subsite.stylesheet }} {% else %}u-bg-primary {% endif %}u-color-white o-tabpannel__label\">{{ 'nw_pm' | trans }}</span>
  1033.                                 <p class=\"c-tooltip__news\">{{ 'nw_pm_meaning' | trans }}</p>
  1034.                             </div>
  1035.                     {% endif %}
  1036.                     <h1 class=\"u-h2 u-text-lineheight-normal u-display--inline\">{{ newsitem.title }}</h1>
  1037.                     <p class=\"o-tabpannel__content__title__date u-padding-top-tiny u-margin-top-none\">{{ newsitem.publicationDate | localdate }}</p>
  1038.                     {% if newsitem.introduction != '' %}
  1039.                         <p>{{ newsitem.introduction }}</p>
  1040.                     {% endif %}
  1041.                     {% if newsitem.subtitle != '' %}
  1042.                         <h2>{{ newsitem.subtitle }}</h2>
  1043.                     {% endif %}
  1044.                     {#1 afbeelding met tekst#}
  1045.                     {% if newsitem.asset is not null %}
  1046.                         {% if newsitem.asset.assetImages is not null %}
  1047.                             {% if newsitem.asset.assetImages | length == 1 and newsitem.text != '' %}
  1048.                                 {% set image = newsitem.asset.assetImages[0] %}
  1049.                                 {% set image_path = 'uploads/'~ image.image.locale ~ image.image.filename %}
  1050.                                 <a href=\"/{{ image_path }}\"
  1051.                                    {% if image.image.caption is not null %}title=\"{{ image.image.caption }}\"
  1052.                                    {% endif %}rel=\"js-fancybox-{{ newsitem.id }}\"
  1053.                                    class=\"o-tabpannel__content__imagelink js-fancybox\">
  1054.                                     {{ image_path | responsive_image_source([301,238], {'filterset': 'responsive_article_image', 'sizes': '(min-width: 960px) 301px, (min-width: 768px and max-width: 960px) 238px', 'alt': image.image.alt}) }}
  1055.                                 </a>
  1056.                             {% endif %}
  1057.                         {% endif %}
  1058.                     {% endif %}
  1059.                     {% if newsitem.firstParagraphAsset is not null %}
  1060.                         {% if newsitem.firstParagraphAsset.assetImages is not null %}
  1061.                             {% if newsitem.firstParagraphAsset.assetImages | length == 1 %}
  1062.                                 {% set image = newsitem.firstParagraphAsset.assetImages[0] %}
  1063.                                 {% set image_path = 'uploads/'~ image.image.locale ~ image.image.filename %}
  1064.                                 <a href=\"/{{ image_path }}\"
  1065.                                    {% if image.image.caption is not null %}title=\"{{ image.image.caption }}\"
  1066.                                    {% endif %}rel=\"js-fancybox-{{ newsitem.id }}\"
  1067.                                    class=\"o-tabpannel__content__imagelink js-fancybox\">
  1068.                                     {{ image_path | responsive_image_source([301,238], {'filterset': 'responsive_article_image', 'sizes': '(min-width: 960px) 301px, (min-width: 768px and max-width: 960px) 238px', 'alt': image.image.alt}) }}
  1069.                                 </a>
  1070.                             {% endif %}
  1071.                         {% endif %}
  1072.                     {% endif %}
  1073.                     {{ newsitem.text | raw }}
  1074.                     <div style=\"clear: both\"></div>
  1075.                     {% for paragraph in newsitem.paragraphs|sort((a, b) => a.number <=> b.number) %}
  1076.                         {% if paragraph.subtitle != '' %}
  1077.                             <h2>{{ paragraph.subtitle }}</h2>
  1078.                         {% endif %}
  1079.                         {% if paragraph.asset is not null %}
  1080.                             {% if paragraph.asset.assetImages is not null %}
  1081.                                 {% if paragraph.asset.assetImages | length == 1 %}
  1082.                                     {% set image = paragraph.asset.assetImages[0] %}
  1083.                                     {% set image_path = 'uploads/'~ image.image.locale ~ image.image.filename %}
  1084.                                     <a href=\"/{{ image_path }}\"
  1085.                                        {% if image.image.caption is not null %}title=\"{{ image.image.caption }}\"
  1086.                                        {% endif %}rel=\"js-fancybox-{{ paragraph.id }}\"
  1087.                                        class=\"o-tabpannel__content__imagelink js-fancybox{% if paragraph.text == '' or paragraph.text == null %} img-full-width{% endif %}\">
  1088.                                         {% if paragraph.text == '' or paragraph.text == null %}
  1089.                                             <img src=\"/{{ image_path }}\" alt=\"{{ image.image.alt }}\">
  1090.                                         {% else %}
  1091.                                             {{ image_path | responsive_image_source([301,238], {'filterset': 'responsive_article_image', 'sizes': '(min-width: 960px) 301px, (min-width: 768px and max-width: 960px) 238px', 'alt': image.image.alt}) }}
  1092.                                         {% endif %}
  1093.                                     </a>
  1094.                                 {% endif %}
  1095.                             {% endif %}
  1096.                         {% endif %}
  1097.                         {{ paragraph.text | raw }}
  1098.                         <div style=\"clear: both\"></div>
  1099.                     {% endfor %}
  1100.                     {#reeks afbeeldingen#}
  1101.                     {% if newsitem.asset is not null %}
  1102.                         {% if newsitem.asset.assetImages is not null %}
  1103.                             {% if not(newsitem.asset.assetImages | length == 1 and newsitem.text != '') %}
  1104.                                 {% for image in newsitem.asset.assetImages %}
  1105.                                     {% set image_path = 'uploads/'~ image.image.locale  ~ image.image.filename %}
  1106.                                     <a href=\"/{{ image_path }}\"
  1107.                                        {% if image.image.caption is not null %}title=\"{{ image.image.caption }}\"
  1108.                                        {% endif %}rel=\"js-fancybox-{{ newsitem.id }}\"
  1109.                                        class=\"js-fancybox u-display--inlineblock u-margin-bottom-small\">
  1110.                                         {{ image_path | responsive_image_source([710,477], {'filterset': 'responsive_article_image', 'sizes': '(min-width: 960px) 710px, (min-width: 768px and max-width: 960px) 477px', 'alt': image.image.alt}) }}
  1111.                                         {% if image.image.caption is not null %}
  1112.                                             <p class=\"u-margin-top-tiny\">{{ image.image.caption }}</p>
  1113.                                         {% endif %}
  1114.                                     </a>
  1115.                                 {% endfor %}
  1116.                             {% endif %}
  1117.                         {% endif %}
  1118.                         {% if newsitem.asset.assetVideoPaths | length > 0 %}
  1119.                             <div>
  1120.                                 {% for video in newsitem.asset.assetVideoPaths %}
  1121.                                     {% if video.videoPath.youtube is not null and video.videoPath.youtube != '' %}
  1122.                                         <iframe
  1123.                                             class=\"o-tabpannel__content__youtube js-tabpannel-youtube u-margin-bottom-small\"
  1124.                                             frameborder=\"0\" allowfullscreen=\"1\" title=\"YouTube video player\" width=\"490\"
  1125.                                             height=\"280\"
  1126.                                             src=\"//www.youtube-nocookie.com/embed/{{ video.videoPath.youtube }}?enablejsapi=1&widgetid=1\"
  1127.                                             kwframeid=\"2\"></iframe>
  1128.                                     {% endif %}
  1129.                                     {% if video.videoPath.path is not null and video.videoPath.path != '' %}
  1130.                                         <video
  1131.                                             class=\"o-tabpannel__content__video js-tabpannel-video u-margin-bottom-small\"
  1132.                                             controls>
  1133.                                             <source src=\"/video/{{ locale }}/{{ video.videoPath.path }}\">
  1134.                                         </video>
  1135.                                     {% endif %}
  1136.                                 {% endfor %}
  1137.                             </div>
  1138.                         {% endif %}
  1139.                     {% endif %}
  1140.                     {% if newsitem.asset and (newsitem.asset.assetLinks | length > 0 or newsitem.asset.assetAttachments | length > 0) %}
  1141.                         <ul class=\"u-margin-top-small\">
  1142.                             {% for link in newsitem.asset.assetLinks %}
  1143.                                 <li><a href=\"{{ link.link.url }}\" title=\"{{ link.link.title }}\"
  1144.                                        {% if link.link.newWindow %}target=\"_blank\"{% endif %}>{{ link.link.title }}</a>
  1145.                                 </li>
  1146.                             {% endfor %}
  1147.                             {% for attachment in newsitem.asset.assetAttachments %}
  1148.                                 {% set fileType = attachment.attachment.filename | split('.') %}
  1149.                                 {% set fileType = fileType | last | upper %}
  1150.                                 {% set title = attachment.attachment.title %}
  1151.                                 {% if title == '' %}
  1152.                                     {% set title = attachment.attachment.originalFilename %}
  1153.                                 {% endif %}
  1154.                                 {% set foo = attachment.attachment.filename|split('/', 2) %}
  1155.                                 {% if foo | length >= 1 %}{% set filename = foo[1] %}{% endif %}
  1156.                                 {%  if filename is defined %}
  1157.                                 <li>
  1158.                                     <a href=\"/download/{{ filename | url_encode }}\"
  1159.                                        title=\"{{ title }}\">{{ title }}
  1160.                                         ({{ fileType }} {{ attachment.attachment.byte | bfos_format_bytes | replace({'.':','}) }}
  1161.                                         )</a></li>
  1162.                                 {% endif %}
  1163.                             {% endfor %}
  1164.                         </ul>
  1165.                     {% endif %}
  1166.                     {% if newsitem.tags | length > 0 %}
  1167.                         <div class=\"c-tags u-margin-bottom-small js-tags\">
  1168.                             {% for tag in newsitem.tags %}
  1169.                                 <a data-slug=\"{{ tag.slug }}\"
  1170.                                    data-tag-clicked=\"{{ path('notaris_frontend_tag_clicked') }}\"
  1171.                                    href=\"{{ path('notaris_frontend_tag', {'tagSlug': tag.slug}) }}\"
  1172.                                    title=\"{{ tag.name }}\" class=\"c-tags__item\"><small>{{ tag.name }}</small></a>
  1173.                             {% endfor %}
  1174.                         </div>
  1175.                     {% endif %}
  1176.                     {% if newsitem.source != '' %}
  1177.                         <p class=\"u-margin-top-tiny\">{{ 'nw_bron' | trans }}: {{ newsitem.source }}</p>
  1178.                     {% endif %}
  1179.                     {% if newsitem.author != '' %}
  1180.                         <p class=\"u-margin-top-tiny\">Auteur: {{ newsitem.author }}</p>
  1181.                     {% endif %}
  1182.                     <article class=\"socialmedia border-bottom\">
  1183.                         <!-- linkedin -->
  1184.                         <a href=\"http://www.linkedin.com/shareArticle?url={{ app.request.uri }}&title={{ newsitem.meta.ogTitle }}&summary={{ newsitem.meta.ogDescription }}\"
  1185.                            target=\"_blank\" class=\"share-btn linkedin\">
  1186.                             <img style=\"width:60px!important;height:20px;\" src=\"/images/linkedin.png\"/>
  1187.                         </a>
  1188.                         <div class=\"spacer\">&nbsp;</div>
  1189.                         {#<!-- facebook share -->#}
  1190.                         {#<a name=\"fb_share\" type=\"button\"></a><script src=\"http://static.ak.fbcdn.net/connect.php/js/FB.Share\" type=\"text/javascript\"></script>#}
  1191.                         {#<div class=\"spacer\">&nbsp;</div>#}
  1192.                         {#<!-- google plus -->#}
  1193.                         {#<div class=\"g-plusone\" data-size=\"small\"></div>#}
  1194.                         {#<script type=\"text/javascript\">#}
  1195.                         {#window.___gcfg = {lang: 'nl'};#}
  1196.                         {#(function() {#}
  1197.                         {#var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;#}
  1198.                         {#po.src = 'https://apis.google.com/js/platform.js';#}
  1199.                         {#var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);#}
  1200.                         {#})();#}
  1201.                         {#</script>#}
  1202.                         <div class=\"fb-share-button\"
  1203.                              data-href=\"{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}\"
  1204.                              data-layout=\"button\"></div>
  1205.                         <div class=\"spacer\">&nbsp;</div>
  1206.                         <!-- twitter share -->
  1207.                         <a class=\"twitter-share-button\" target=\"_blank\"
  1208.                            href=\"https://twitter.com/intent/tweet?url={{ app.request.uri }}\">
  1209.                             <div class=\"u-display--inlineblock\">
  1210.                                 <div class=\"o-media__img u-margin-right-tiny\">
  1211.                                     <img src=\"{{ asset('/assets/images/icons/social/x-share-button-icon-not.svg') }}\" alt=\"X Share\" title=\"X Share\" height=\"25\" width=\"64\" class=\"c-social--color\"/>
  1212.                                 </div>
  1213.                             </div>
  1214.                         </a>
  1215.                         <div class=\"spacer\">&nbsp;</div>
  1216.                         <!-- google plus -->
  1217.                         <!-- Plaats deze tag waar je de +1 knop wilt weergeven. -->
  1218.                         <div class=\"g-plusone\" data-annotation=\"inline\" data-width=\"120\"></div>
  1219.                         <div class=\"cleaner\">&nbsp;</div>
  1220.                     </article>
  1221.                     <article class=\"no-border\">
  1222.                         <div class=\"prevnext-pages\">
  1223.                             {% if subsiteslug != '' %}
  1224.                                 <a href=\"{{ path('notaris_frontend_subsite_news', {'subsiteslug':subsiteslug}) }}\"
  1225.                                    title=\"{{ 'nw_terugnaarlijst' | trans }}\">{{ 'nw_terugnaarlijst' | trans }}</a>
  1226.                             {% else %}
  1227.                                 <a href=\"{{ path('notaris_frontend_news') }}\"
  1228.                                    title=\"{{ 'nw_terugnaarlijst' | trans }}\">{{ 'nw_terugnaarlijst' | trans }}</a>
  1229.                             {% endif %}
  1230.                         </div>
  1231.                         <!--<p><img src=\"/imgs/ic_pm.gif\" alt=\"offici&euml;le Persmededeling\" class=\"ic-pm\" /> = Persmededeling</p>-->
  1232.                     </article>
  1233.                     <div class=\"cleaner\">&nbsp;</div>
  1234.                 </div>
  1235.             </section>
  1236.             {# dynamische cms modules #}
  1237.             {#{{ include('@NotarisFrontend/Module/mod_cms.html.twig', {'rightmodules': rightmodules }) }}#}
  1238.         </div>
  1239.         <!-- #### CONTENT #### -->
  1240.         {#
  1241.         <aside id=\"content-right\">
  1242.            {% if notaryId is defined %}
  1243.                {{ include('@NotarisFrontend/Sven/_sven_address.html.twig') }}
  1244.            {% else %}
  1245.                {{ include('@NotarisFrontend/Module/notsearch_module.html.twig') }}
  1246.            {% endif %}
  1247.            <p id=\"persmededeling\"><span class=\"pm-label\">{{ 'nw_pm' | trans }}</span> {{ 'nw_persmed' | trans }}</p>
  1248.            <div class=\"cleaner\">&nbsp;</div>
  1249.         </aside>
  1250.         #}
  1251.         {% include '@NotarisFrontend/navigation/mobilesubnav.html.twig' with {'websiteSlug': 'slg_nieuws' | trans, 'isSven':false, 'isHome':false, 'subsite': subsite} %}
  1252.     </section>
  1253. {% endblock %}
  1254. {% block extrajs %}
  1255.     <script>
  1256.         // \$.cookie('cookie-settings-statistics') === 'true' && applyAnalyticsJs();
  1257.         // \$.cookie('cookie-settings-social') === 'true' && applySocialJs();
  1258.     </script>
  1259.     <script type=\"application/ld+json\">
  1260.         {
  1261.             \"@context\": \"https://schema.org\",
  1262.             \"@type\": \"NewsArticle\",
  1263.             \"headline\": \"{{- newsitem.title -}}\",
  1264.             {% if newsitem.asset is not null -%}
  1265.                 {%- if newsitem.asset.assetImages is not null -%}
  1266.                     {%- if newsitem.asset.assetImages | length == 1 and newsitem.text != '' -%}
  1267.                         {%- set image = newsitem.asset.assetImages[0] -%}
  1268.                         {%- set image_path = app.request.schemeAndHttpHost ~ '/uploads/'~ image.image.locale ~ image.image.filename -%}
  1269.             \"image\": [
  1270.                 \"{{- image_path  -}}\"
  1271.             ],
  1272.             {% endif -%}
  1273.         {%- endif -%}
  1274.     {%- endif -%}
  1275.             \"datePublished\": \"{{- newsitem.publicationDate | date('Y-m-d') -}}\",
  1276.             \"dateModified\": \"{{ newsitem.publicationDate | date('Y-m-d') }}\"
  1277.             {% if newsitem.source != '' -%}
  1278.             ,\"author\": {
  1279.                 \"@type\": \"Organization\",
  1280.                 \"name\": \"{{- newsitem.source -}}\"
  1281.             }
  1282.         {% endif -%}
  1283.         }
  1284.     </script>
  1285. {% endblock %}
  1286. {% block extracss %}
  1287.     <style>
  1288.         .img-full-width, .img-full-width img {
  1289.             width: 100%;
  1290.         }
  1291.     </style>
  1292. {% endblock %}
  1293. ", "@NotarisFrontend/news/detail.html.twig", "/data/sites/web/notarisdc-projectsbe/subsites/apps/default/releases/7/src/Notaris/FrontendBundle/Resources/views/news/detail.html.twig");
  1294.     }
  1295. }