var/cache/dev/twig/0e/0ec9781133822f090d41b4cec3cfcf31.php line 52

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/tag/index.html.twig */
  14. class __TwigTemplate_7cabba77e2ffc21a0bf0b18208409454 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.             'body' => [$this, 'block_body'],
  26.             'footer' => [$this, 'block_footer'],
  27.             'extrajs' => [$this, 'block_extrajs'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "@NotarisFrontend/layout2017.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros = $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/tag/index.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/tag/index.html.twig"));
  42.         $this->parent = $this->loadTemplate("@NotarisFrontend/layout2017.html.twig", "@NotarisFrontend/tag/index.html.twig", 1);
  43.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_title($context, array $blocks = [])
  51.     {
  52.         $macros = $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  57.         // line 4
  58.         echo "    ";
  59.         if (array_key_exists("notaryId", $context)) {
  60.             // line 5
  61.             echo "        <title>";
  62.             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.', 5, $this->source); })()), "header1", [], "any", false, false, false, 5), ["<BR />" => " "]), "html", null, true);
  63.             echo " - ";
  64.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 5, $this->source); })()), "name", [], "any", false, false, false, 5), "html", null, true);
  65.             echo "</title>
  66.     ";
  67.         } else {
  68.             // line 7
  69.             echo "        <title>Context | ";
  70.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 7, $this->source); })()), "name", [], "any", false, false, false, 7), "html", null, true);
  71.             echo " ";
  72.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("alg_basetitle"), "html", null, true);
  73.             echo " </title>
  74.     ";
  75.         }
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.     }
  81.     // line 11
  82.     public function block_extralinks($context, array $blocks = [])
  83.     {
  84.         $macros = $this->macros;
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extralinks"));
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extralinks"));
  89.         // line 12
  90.         echo "    <link rel=\"canonical\" href=\"";
  91.         echo twig_escape_filter($this->env, ((((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_tag", ["tagSlug" => twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 12, $this->source); })()), "slug", [], "any", false, false, false, 12)])), "html", null, true);
  92.         echo "\"  />
  93. ";
  94.         
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  96.         
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98.     }
  99.     // line 16
  100.     public function block_body($context, array $blocks = [])
  101.     {
  102.         $macros = $this->macros;
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  107.         // line 17
  108.         echo "    <!-- content -->
  109.     <section class=\"content u-padding-top-large\">
  110.         <aside id=\"content-left\" class=\"content-left-small hidesmartphone\">
  111.             <nav class=\"standard-nav\">
  112.                 <ul class=\"u-margin-left-none u-padding-left-none\">
  113.                     <li class=\"active\">
  114.                         <div class=\"activestate\">&nbsp;</div>
  115.                         <a href=\"#\" title=\"Context\" class=\"hi\">Context</a>
  116.                     </li>
  117.                 </ul>
  118.             </nav>
  119.         </aside>
  120.         <div id=\"content-center\" class=\"content-right content-center-large notaris\">
  121.             <div id=\"content-center-header\">
  122.                 <article class=\"niveau1\">
  123.                     <div class=\"article-header u-padding-small u-word-wrap u-word-wrap-hyphens@mobile\">
  124.                         <h1 class=\"u-text-lineheight-semilarge u-h2@desktop\">";
  125.         // line 35
  126.         echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 35, $this->source); })()), "name", [], "any", false, false, false, 35)), "html", null, true);
  127.         echo "</h1>
  128.                     </div>
  129.                     ";
  130.         // line 37
  131.         if (twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 37, $this->source); })()), "description", [], "any", false, false, false, 37)) {
  132.             // line 38
  133.             echo "                        <div class=\"article-content\">
  134.                             ";
  135.             // line 39
  136.             echo twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 39, $this->source); })()), "description", [], "any", false, false, false, 39);
  137.             echo "
  138.                             <div class=\"cleaner\">&nbsp;</div>
  139.                         </div>
  140.                     ";
  141.         }
  142.         // line 43
  143.         echo "                </article>
  144.                 <article class=\"niveau3 fillcolor u-margin-top-large\">
  145.                     <div class=\"article-content\">
  146.                         <h2 class=\"u-text-lineheight-semilarge u-h2-small\">";
  147.         // line 46
  148.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_artikelsgevonden1");
  149.         echo " \"";
  150.         echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 46, $this->source); })()), "name", [], "any", false, false, false, 46), "html", null, true);
  151.         echo "\" ";
  152.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_artikelsgevonden2");
  153.         echo " ";
  154.         echo twig_escape_filter($this->env, (isset($context["total"]) || array_key_exists("total", $context) ? $context["total"] : (function () { throw new RuntimeError('Variable "total" does not exist.', 46, $this->source); })()), "html", null, true);
  155.         echo " ";
  156.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_artikelsgevonden3");
  157.         echo ".</h2>
  158.                     </div>
  159.                 </article>
  160.             </div>
  161.             ";
  162.         // line 52
  163.         if (((isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 52, $this->source); })()) > 1)) {
  164.             // line 53
  165.             echo "                <div class=\"prevnext-pages border-bottom\">
  166.                     ";
  167.             // line 54
  168.             if ((((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 54, $this->source); })()) + 1) != 1)) {
  169.                 // line 55
  170.                 echo "                        ";
  171.                 if (((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 55, $this->source); })()) == 1)) {
  172.                     // line 56
  173.                     echo "                            <a href=\"";
  174.                     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, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 56, $this->source); })()), "slug", [], "any", false, false, false, 56)]), "html", null, true);
  175.                     echo "\">";
  176.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("vorige");
  177.                     echo "</a>
  178.                         ";
  179.                 } else {
  180.                     // line 58
  181.                     echo "                            <a href=\"";
  182.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag_page", ["page" => ((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 58, $this->source); })()) - 1), "tagSlug" => twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 58, $this->source); })()), "slug", [], "any", false, false, false, 58)]), "html", null, true);
  183.                     echo "\">";
  184.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("vorige");
  185.                     echo "</a>
  186.                         ";
  187.                 }
  188.                 // line 60
  189.                 echo "                    ";
  190.             } else {
  191.                 // line 61
  192.                 echo "                        <span>";
  193.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("vorige");
  194.                 echo "</span>
  195.                     ";
  196.             }
  197.             // line 63
  198.             echo "
  199.                     ";
  200.             // line 64
  201.             $context["count"] = 0;
  202.             // line 65
  203.             echo "                    ";
  204.             $context["vispages"] = 4;
  205.             // line 66
  206.             echo "                    ";
  207.             $context["index"] = 0;
  208.             // line 67
  209.             echo "
  210.                     ";
  211.             // line 68
  212.             if ((((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 68, $this->source); })()) + 1) <= 2)) {
  213.                 // line 69
  214.                 echo "                        ";
  215.                 $context["start"] = 1;
  216.                 // line 70
  217.                 echo "                    ";
  218.             } else {
  219.                 // line 71
  220.                 echo "                        ";
  221.                 $context["start"] = (((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 71, $this->source); })()) + 1) - 2);
  222.                 // line 72
  223.                 echo "                        ";
  224.                 $context["vispages"] = ((isset($context["vispages"]) || array_key_exists("vispages", $context) ? $context["vispages"] : (function () { throw new RuntimeError('Variable "vispages" does not exist.', 72, $this->source); })()) + 1);
  225.                 // line 73
  226.                 echo "                    ";
  227.             }
  228.             // line 74
  229.             echo "
  230.                     ";
  231.             // line 75
  232.             if ((((isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 75, $this->source); })()) + 4) > (isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 75, $this->source); })()))) {
  233.                 // line 76
  234.                 echo "                        ";
  235.                 $context["start"] = ((isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 76, $this->source); })()) - 3);
  236.                 // line 77
  237.                 echo "                    ";
  238.             }
  239.             // line 78
  240.             echo "
  241.                     ";
  242.             // line 79
  243.             if (((isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 79, $this->source); })()) < 1)) {
  244.                 // line 80
  245.                 echo "                        ";
  246.                 $context["start"] = 1;
  247.                 // line 81
  248.                 echo "                    ";
  249.             }
  250.             // line 82
  251.             echo "
  252.                     ";
  253.             // line 83
  254.             if (((isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 83, $this->source); })()) != 1)) {
  255.                 // line 84
  256.                 echo "                        <span>...</span>
  257.                     ";
  258.             }
  259.             // line 86
  260.             echo "
  261.                     ";
  262.             // line 87
  263.             $context['_parent'] = $context;
  264.             $context['_seq'] = twig_ensure_traversable(range((isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 87, $this->source); })()), (isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 87, $this->source); })())));
  265.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  266.                 // line 88
  267.                 echo "                        ";
  268.                 $context["count"] = ((isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 88, $this->source); })()) + 1);
  269.                 // line 89
  270.                 echo "                        ";
  271.                 if (((isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 89, $this->source); })()) <= (isset($context["vispages"]) || array_key_exists("vispages", $context) ? $context["vispages"] : (function () { throw new RuntimeError('Variable "vispages" does not exist.', 89, $this->source); })()))) {
  272.                     // line 90
  273.                     echo "                            ";
  274.                     $context["index"] = $context["i"];
  275.                     // line 91
  276.                     echo "                            ";
  277.                     if (($context["i"] == ((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 91, $this->source); })()) + 1))) {
  278.                         // line 92
  279.                         echo "                                <span class=\"current\">";
  280.                         echo twig_escape_filter($this->env, $context["i"], "html", null, true);
  281.                         echo "</span>
  282.                             ";
  283.                     } else {
  284.                         // line 94
  285.                         echo "
  286.                                 ";
  287.                         // line 95
  288.                         if (($context["i"] == 1)) {
  289.                             // line 96
  290.                             echo "                                    <a href=\"";
  291.                             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, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 96, $this->source); })()), "slug", [], "any", false, false, false, 96)]), "html", null, true);
  292.                             echo "\">";
  293.                             echo twig_escape_filter($this->env, $context["i"], "html", null, true);
  294.                             echo "</a>
  295.                                 ";
  296.                         } else {
  297.                             // line 98
  298.                             echo "                                    <a href=\"";
  299.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag_page", ["page" => ($context["i"] - 1), "tagSlug" => twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 98, $this->source); })()), "slug", [], "any", false, false, false, 98)]), "html", null, true);
  300.                             echo "\">";
  301.                             echo twig_escape_filter($this->env, $context["i"], "html", null, true);
  302.                             echo "</a>
  303.                                 ";
  304.                         }
  305.                         // line 100
  306.                         echo "
  307.                             ";
  308.                     }
  309.                     // line 102
  310.                     echo "                        ";
  311.                 }
  312.                 // line 103
  313.                 echo "
  314.                     ";
  315.             }
  316.             $_parent = $context['_parent'];
  317.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  318.             $context = array_intersect_key($context, $_parent) + $_parent;
  319.             // line 105
  320.             echo "                    ";
  321.             if (((isset($context["index"]) || array_key_exists("index", $context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.', 105, $this->source); })()) != (isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 105, $this->source); })()))) {
  322.                 // line 106
  323.                 echo "                        <span>...</span>
  324.                     ";
  325.             }
  326.             // line 108
  327.             echo "
  328.                     ";
  329.             // line 109
  330.             if ((((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 109, $this->source); })()) + 1) != (isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 109, $this->source); })()))) {
  331.                 // line 110
  332.                 echo "                        <a href=\"";
  333.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag_page", ["page" => ((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 110, $this->source); })()) + 1), "tagSlug" => twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 110, $this->source); })()), "slug", [], "any", false, false, false, 110)]), "html", null, true);
  334.                 echo "\">";
  335.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("volgende");
  336.                 echo "</a>
  337.                     ";
  338.             } else {
  339.                 // line 114
  340.                 echo "                        <span>";
  341.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("volgende");
  342.                 echo "</span>
  343.                     ";
  344.             }
  345.             // line 116
  346.             echo "                </div>
  347.             ";
  348.         }
  349.         // line 118
  350.         echo "
  351.             <section id=\"info\" class=\"no-margin\">
  352.                 <div id=\"info-content\" class=\"niveau1 info-news-content\">
  353.                     ";
  354.         // line 122
  355.         $context['_parent'] = $context;
  356.         $context['_seq'] = twig_ensure_traversable((isset($context["tagresults"]) || array_key_exists("tagresults", $context) ? $context["tagresults"] : (function () { throw new RuntimeError('Variable "tagresults" does not exist.', 122, $this->source); })()));
  357.         $context['loop'] = [
  358.           'parent' => $context['_parent'],
  359.           'index0' => 0,
  360.           'index'  => 1,
  361.           'first'  => true,
  362.         ];
  363.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  364.             $length = count($context['_seq']);
  365.             $context['loop']['revindex0'] = $length - 1;
  366.             $context['loop']['revindex'] = $length;
  367.             $context['loop']['length'] = $length;
  368.             $context['loop']['last'] = 1 === $length;
  369.         }
  370.         foreach ($context['_seq'] as $context["_key"] => $context["tagresult"]) {
  371.             // line 123
  372.             echo "                        ";
  373.             $context["index"] = (twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 123) + ((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 123, $this->source); })()) * 25));
  374.             // line 124
  375.             echo "
  376.                         <a class=\"info-content-blocklink\" href=\"";
  377.             // line 125
  378.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tagresult"], "urlpath", [], "any", false, false, false, 125), "html", null, true);
  379.             echo "\" title=\"";
  380.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tagresult"], "title", [], "any", false, false, false, 125), "html", null, true);
  381.             echo "\">
  382.                             <h2 class=\"u-text-lineheight-semilarge u-h2-small-bold ";
  383.             // line 126
  384.             if ( !twig_get_attribute($this->env, $this->source, $context["tagresult"], "description", [], "any", false, false, false, 126)) {
  385.                 echo " u-h2-margin ";
  386.             } else {
  387.                 echo " u-h2-no-margin";
  388.             }
  389.             echo "\">";
  390.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tagresult"], "title", [], "any", false, false, false, 126), "html", null, true);
  391.             echo "</h2>
  392.                             ";
  393.             // line 127
  394.             if (twig_get_attribute($this->env, $this->source, $context["tagresult"], "description", [], "any", false, false, false, 127)) {
  395.                 // line 128
  396.                 echo "                            <p class=\"no-top-padding\">
  397.                                 ";
  398.                 // line 129
  399.                 $context["words"] = twig_split_filter($this->env, twig_striptags(twig_get_attribute($this->env, $this->source, $context["tagresult"], "description", [], "any", false, false, false, 129)), " ");
  400.                 // line 130
  401.                 echo "                                ";
  402.                 $context['_parent'] = $context;
  403.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["words"]) || array_key_exists("words", $context) ? $context["words"] : (function () { throw new RuntimeError('Variable "words" does not exist.', 130, $this->source); })()), 0, 22));
  404.                 $context['loop'] = [
  405.                   'parent' => $context['_parent'],
  406.                   'index0' => 0,
  407.                   'index'  => 1,
  408.                   'first'  => true,
  409.                 ];
  410.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  411.                     $length = count($context['_seq']);
  412.                     $context['loop']['revindex0'] = $length - 1;
  413.                     $context['loop']['revindex'] = $length;
  414.                     $context['loop']['length'] = $length;
  415.                     $context['loop']['last'] = 1 === $length;
  416.                 }
  417.                 foreach ($context['_seq'] as $context["_key"] => $context["word"]) {
  418.                     // line 131
  419.                     echo "                                    ";
  420.                     if ((twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 131) && (twig_length_filter($this->env, (isset($context["words"]) || array_key_exists("words", $context) ? $context["words"] : (function () { throw new RuntimeError('Variable "words" does not exist.', 131, $this->source); })())) > 22))) {
  421.                         // line 132
  422.                         echo "                                        ";
  423.                         echo twig_replace_filter($context["word"], ["." => ""]);
  424.                         echo "...
  425.                                     ";
  426.                     } else {
  427.                         // line 134
  428.                         echo "                                            ";
  429.                         echo $context["word"];
  430.                         echo "
  431.                                     ";
  432.                     }
  433.                     // line 136
  434.                     echo "                                ";
  435.                     ++$context['loop']['index0'];
  436.                     ++$context['loop']['index'];
  437.                     $context['loop']['first'] = false;
  438.                     if (isset($context['loop']['length'])) {
  439.                         --$context['loop']['revindex0'];
  440.                         --$context['loop']['revindex'];
  441.                         $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  442.                     }
  443.                 }
  444.                 $_parent = $context['_parent'];
  445.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['word'], $context['_parent'], $context['loop']);
  446.                 $context = array_intersect_key($context, $_parent) + $_parent;
  447.                 // line 137
  448.                 echo "                            </p>
  449.                             ";
  450.             }
  451.             // line 139
  452.             echo "                        </a>
  453.                     ";
  454.             ++$context['loop']['index0'];
  455.             ++$context['loop']['index'];
  456.             $context['loop']['first'] = false;
  457.             if (isset($context['loop']['length'])) {
  458.                 --$context['loop']['revindex0'];
  459.                 --$context['loop']['revindex'];
  460.                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  461.             }
  462.         }
  463.         $_parent = $context['_parent'];
  464.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tagresult'], $context['_parent'], $context['loop']);
  465.         $context = array_intersect_key($context, $_parent) + $_parent;
  466.         // line 141
  467.         echo "
  468.                 </div>
  469.             </section>
  470.             ";
  471.         // line 146
  472.         if (((isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 146, $this->source); })()) > 1)) {
  473.             // line 147
  474.             echo "                <div class=\"prevnext-pages\">
  475.                     ";
  476.             // line 148
  477.             if ((((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 148, $this->source); })()) + 1) != 1)) {
  478.                 // line 149
  479.                 echo "                        ";
  480.                 if (((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 149, $this->source); })()) == 1)) {
  481.                     // line 150
  482.                     echo "                            <a href=\"";
  483.                     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, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 150, $this->source); })()), "slug", [], "any", false, false, false, 150)]), "html", null, true);
  484.                     echo "\">";
  485.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("vorige");
  486.                     echo "</a>
  487.                         ";
  488.                 } else {
  489.                     // line 152
  490.                     echo "                            <a href=\"";
  491.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag_page", ["page" => ((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 152, $this->source); })()) - 1), "tagSlug" => twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 152, $this->source); })()), "slug", [], "any", false, false, false, 152)]), "html", null, true);
  492.                     echo "\">";
  493.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("vorige");
  494.                     echo "</a>
  495.                         ";
  496.                 }
  497.                 // line 154
  498.                 echo "                    ";
  499.             } else {
  500.                 // line 155
  501.                 echo "                        <span>";
  502.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("vorige");
  503.                 echo "</span>
  504.                     ";
  505.             }
  506.             // line 157
  507.             echo "
  508.                     ";
  509.             // line 158
  510.             $context["count"] = 0;
  511.             // line 159
  512.             echo "                    ";
  513.             $context["vispages"] = 4;
  514.             // line 160
  515.             echo "                    ";
  516.             $context["index"] = 0;
  517.             // line 161
  518.             echo "
  519.                     ";
  520.             // line 162
  521.             if ((((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 162, $this->source); })()) + 1) <= 2)) {
  522.                 // line 163
  523.                 echo "                        ";
  524.                 $context["start"] = 1;
  525.                 // line 164
  526.                 echo "                    ";
  527.             } else {
  528.                 // line 165
  529.                 echo "                        ";
  530.                 $context["start"] = (((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 165, $this->source); })()) + 1) - 2);
  531.                 // line 166
  532.                 echo "                        ";
  533.                 $context["vispages"] = ((isset($context["vispages"]) || array_key_exists("vispages", $context) ? $context["vispages"] : (function () { throw new RuntimeError('Variable "vispages" does not exist.', 166, $this->source); })()) + 1);
  534.                 // line 167
  535.                 echo "                    ";
  536.             }
  537.             // line 168
  538.             echo "
  539.                     ";
  540.             // line 169
  541.             if ((((isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 169, $this->source); })()) + 4) > (isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 169, $this->source); })()))) {
  542.                 // line 170
  543.                 echo "                        ";
  544.                 $context["start"] = ((isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 170, $this->source); })()) - 3);
  545.                 // line 171
  546.                 echo "                    ";
  547.             }
  548.             // line 172
  549.             echo "
  550.                     ";
  551.             // line 173
  552.             if (((isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 173, $this->source); })()) < 1)) {
  553.                 // line 174
  554.                 echo "                        ";
  555.                 $context["start"] = 1;
  556.                 // line 175
  557.                 echo "                    ";
  558.             }
  559.             // line 176
  560.             echo "
  561.                     ";
  562.             // line 177
  563.             if (((isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 177, $this->source); })()) != 1)) {
  564.                 // line 178
  565.                 echo "                        <span>...</span>
  566.                     ";
  567.             }
  568.             // line 180
  569.             echo "
  570.                     ";
  571.             // line 181
  572.             $context['_parent'] = $context;
  573.             $context['_seq'] = twig_ensure_traversable(range((isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 181, $this->source); })()), (isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 181, $this->source); })())));
  574.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  575.                 // line 182
  576.                 echo "                        ";
  577.                 $context["count"] = ((isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 182, $this->source); })()) + 1);
  578.                 // line 183
  579.                 echo "                        ";
  580.                 if (((isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 183, $this->source); })()) <= (isset($context["vispages"]) || array_key_exists("vispages", $context) ? $context["vispages"] : (function () { throw new RuntimeError('Variable "vispages" does not exist.', 183, $this->source); })()))) {
  581.                     // line 184
  582.                     echo "                            ";
  583.                     $context["index"] = $context["i"];
  584.                     // line 185
  585.                     echo "                            ";
  586.                     if (($context["i"] == ((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 185, $this->source); })()) + 1))) {
  587.                         // line 186
  588.                         echo "                                <span class=\"current\">";
  589.                         echo twig_escape_filter($this->env, $context["i"], "html", null, true);
  590.                         echo "</span>
  591.                             ";
  592.                     } else {
  593.                         // line 188
  594.                         echo "
  595.                                 ";
  596.                         // line 189
  597.                         if (($context["i"] == 1)) {
  598.                             // line 190
  599.                             echo "                                    <a href=\"";
  600.                             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, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 190, $this->source); })()), "slug", [], "any", false, false, false, 190)]), "html", null, true);
  601.                             echo "\">";
  602.                             echo twig_escape_filter($this->env, $context["i"], "html", null, true);
  603.                             echo "</a>
  604.                                 ";
  605.                         } else {
  606.                             // line 192
  607.                             echo "                                    <a href=\"";
  608.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag_page", ["page" => ($context["i"] - 1), "tagSlug" => twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 192, $this->source); })()), "slug", [], "any", false, false, false, 192)]), "html", null, true);
  609.                             echo "\">";
  610.                             echo twig_escape_filter($this->env, $context["i"], "html", null, true);
  611.                             echo "</a>
  612.                                 ";
  613.                         }
  614.                         // line 194
  615.                         echo "
  616.                             ";
  617.                     }
  618.                     // line 196
  619.                     echo "                        ";
  620.                 }
  621.                 // line 197
  622.                 echo "
  623.                     ";
  624.             }
  625.             $_parent = $context['_parent'];
  626.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  627.             $context = array_intersect_key($context, $_parent) + $_parent;
  628.             // line 199
  629.             echo "                    ";
  630.             if (((isset($context["index"]) || array_key_exists("index", $context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.', 199, $this->source); })()) != (isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 199, $this->source); })()))) {
  631.                 // line 200
  632.                 echo "                        <span>...</span>
  633.                     ";
  634.             }
  635.             // line 202
  636.             echo "
  637.                     ";
  638.             // line 203
  639.             if ((((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 203, $this->source); })()) + 1) != (isset($context["totalpages"]) || array_key_exists("totalpages", $context) ? $context["totalpages"] : (function () { throw new RuntimeError('Variable "totalpages" does not exist.', 203, $this->source); })()))) {
  640.                 // line 204
  641.                 echo "                        <a href=\"";
  642.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag_page", ["page" => ((isset($context["currentpage"]) || array_key_exists("currentpage", $context) ? $context["currentpage"] : (function () { throw new RuntimeError('Variable "currentpage" does not exist.', 204, $this->source); })()) + 1), "tagSlug" => twig_get_attribute($this->env, $this->source, (isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 204, $this->source); })()), "slug", [], "any", false, false, false, 204)]), "html", null, true);
  643.                 echo "\">";
  644.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("volgende");
  645.                 echo "</a>
  646.                     ";
  647.             } else {
  648.                 // line 208
  649.                 echo "                        <span>";
  650.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("volgende");
  651.                 echo "</span>
  652.                     ";
  653.             }
  654.             // line 210
  655.             echo "                </div>
  656.             ";
  657.         }
  658.         // line 212
  659.         echo "
  660.         </div>
  661.         <div class=\"cleaner hidedesktop\">&nbsp;</div>
  662.         ";
  663.         // line 229
  664.         echo "
  665.         ";
  666.         // line 230
  667.         $this->loadTemplate("@NotarisFrontend/navigation/mobilesubnav.html.twig", "@NotarisFrontend/tag/index.html.twig", 230)->display(twig_array_merge($context, ["websiteSlug" => "", "isSven" => false, "isHome" => false, "subsite" => ""]));
  668.         // line 231
  669.         echo "    </section>
  670. ";
  671.         
  672.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  673.         
  674.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  675.     }
  676.     // line 239
  677.     public function block_footer($context, array $blocks = [])
  678.     {
  679.         $macros = $this->macros;
  680.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  681.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  682.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  683.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  684.         // line 240
  685.         echo "    <div class=\"u-bg-off-white u-padding-top-small u-padding-bottom-large\">
  686.         <div class=\"o-wrapper\">
  687.             <div class=\"o-layout\">
  688.                 ";
  689.         // line 243
  690.         $context['_parent'] = $context;
  691.         $context['_seq'] = twig_ensure_traversable($this->extensions['Notaris\FrontendBundle\Twig\SubsitenavExtension']->getSubsites((isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 243, $this->source); })())));
  692.         foreach ($context['_seq'] as $context["_key"] => $context["subsite"]) {
  693.             // line 244
  694.             echo "                    <div class=\"o-layout__item u-1/1 u-1/2@mobile u-1/3@tablet u-1/4@desktop c-tags u-padding-top-small js-tags\">
  695.                         <p class=\"u-margin-bottom-tiny u-color-";
  696.             // line 245
  697.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["subsite"], "stylesheet", [], "any", false, false, false, 245), "html", null, true);
  698.             echo "\">";
  699.             echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["subsite"], "name", [], "any", false, false, false, 245), "html", null, true);
  700.             echo "</p>
  701.                         ";
  702.             // line 246
  703.             $context['_parent'] = $context;
  704.             $context['_seq'] = twig_ensure_traversable($this->extensions['Notaris\FrontendBundle\Twig\TagExtension']->getTags($context["subsite"]));
  705.             foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
  706.                 // line 247
  707.                 echo "                            <div class=\"u-clearfix\">
  708.                                 <a data-slug=\"";
  709.                 // line 248
  710.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "slug", [], "any", false, false, false, 248), "html", null, true);
  711.                 echo "\" data-tag-clicked=\"";
  712.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag_clicked");
  713.                 echo "\" href=\"";
  714.                 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, 248)]), "html", null, true);
  715.                 echo "\" title=\"";
  716.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 248), "html", null, true);
  717.                 echo "\" class=\"c-tags__item c-tags__item--block c-tags__item--showonhover c-tags__item--footer u-text-small\">";
  718.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 248), "html", null, true);
  719.                 echo "</a>
  720.                             </div>
  721.                         ";
  722.             }
  723.             $_parent = $context['_parent'];
  724.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
  725.             $context = array_intersect_key($context, $_parent) + $_parent;
  726.             // line 251
  727.             echo "                    </div>
  728.                 ";
  729.         }
  730.         $_parent = $context['_parent'];
  731.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subsite'], $context['_parent'], $context['loop']);
  732.         $context = array_intersect_key($context, $_parent) + $_parent;
  733.         // line 253
  734.         echo "            </div>
  735.         </div>
  736.     </div>
  737. ";
  738.         
  739.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  740.         
  741.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  742.     }
  743.     // line 259
  744.     public function block_extrajs($context, array $blocks = [])
  745.     {
  746.         $macros = $this->macros;
  747.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  748.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extrajs"));
  749.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  750.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extrajs"));
  751.         
  752.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  753.         
  754.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  755.     }
  756.     public function getTemplateName()
  757.     {
  758.         return "@NotarisFrontend/tag/index.html.twig";
  759.     }
  760.     public function isTraitable()
  761.     {
  762.         return false;
  763.     }
  764.     public function getDebugInfo()
  765.     {
  766.         return array (  795 => 259,  782 => 253,  775 => 251,  758 => 248,  755 => 247,  751 => 246,  745 => 245,  742 => 244,  738 => 243,  733 => 240,  723 => 239,  708 => 231,  706 => 230,  703 => 229,  694 => 212,  690 => 210,  684 => 208,  674 => 204,  672 => 203,  669 => 202,  665 => 200,  662 => 199,  655 => 197,  652 => 196,  648 => 194,  640 => 192,  632 => 190,  630 => 189,  627 => 188,  621 => 186,  618 => 185,  615 => 184,  612 => 183,  609 => 182,  605 => 181,  602 => 180,  598 => 178,  596 => 177,  593 => 176,  590 => 175,  587 => 174,  585 => 173,  582 => 172,  579 => 171,  576 => 170,  574 => 169,  571 => 168,  568 => 167,  565 => 166,  562 => 165,  559 => 164,  556 => 163,  554 => 162,  551 => 161,  548 => 160,  545 => 159,  543 => 158,  540 => 157,  534 => 155,  531 => 154,  523 => 152,  515 => 150,  512 => 149,  510 => 148,  507 => 147,  505 => 146,  498 => 141,  483 => 139,  479 => 137,  465 => 136,  459 => 134,  453 => 132,  450 => 131,  432 => 130,  430 => 129,  427 => 128,  425 => 127,  415 => 126,  409 => 125,  406 => 124,  403 => 123,  386 => 122,  380 => 118,  376 => 116,  370 => 114,  360 => 110,  358 => 109,  355 => 108,  351 => 106,  348 => 105,  341 => 103,  338 => 102,  334 => 100,  326 => 98,  318 => 96,  316 => 95,  313 => 94,  307 => 92,  304 => 91,  301 => 90,  298 => 89,  295 => 88,  291 => 87,  288 => 86,  284 => 84,  282 => 83,  279 => 82,  276 => 81,  273 => 80,  271 => 79,  268 => 78,  265 => 77,  262 => 76,  260 => 75,  257 => 74,  254 => 73,  251 => 72,  248 => 71,  245 => 70,  242 => 69,  240 => 68,  237 => 67,  234 => 66,  231 => 65,  229 => 64,  226 => 63,  220 => 61,  217 => 60,  209 => 58,  201 => 56,  198 => 55,  196 => 54,  193 => 53,  191 => 52,  174 => 46,  169 => 43,  162 => 39,  159 => 38,  157 => 37,  152 => 35,  132 => 17,  122 => 16,  109 => 12,  99 => 11,  83 => 7,  75 => 5,  72 => 4,  62 => 3,  39 => 1,);
  767.     }
  768.     public function getSourceContext()
  769.     {
  770.         return new Source("{% extends '@NotarisFrontend/layout2017.html.twig' %}
  771. {% block title %}
  772.     {% if notaryId is defined %}
  773.         <title>{{ info.header1  | replace({\"<BR />\":\" \"}) }} - {{ tag.name }}</title>
  774.     {% else %}
  775.         <title>Context | {{ tag.name }} {{ 'alg_basetitle' | trans }} </title>
  776.     {% endif %}
  777. {% endblock %}
  778. {% block extralinks %}
  779.     <link rel=\"canonical\" href=\"{{ url_scheme ~ '://www.' ~ _context['url_' ~ locale] ~ path('notaris_frontend_tag', {tagSlug: tag.slug}) }}\"  />
  780. {% endblock %}
  781. {% block body %}
  782.     <!-- content -->
  783.     <section class=\"content u-padding-top-large\">
  784.         <aside id=\"content-left\" class=\"content-left-small hidesmartphone\">
  785.             <nav class=\"standard-nav\">
  786.                 <ul class=\"u-margin-left-none u-padding-left-none\">
  787.                     <li class=\"active\">
  788.                         <div class=\"activestate\">&nbsp;</div>
  789.                         <a href=\"#\" title=\"Context\" class=\"hi\">Context</a>
  790.                     </li>
  791.                 </ul>
  792.             </nav>
  793.         </aside>
  794.         <div id=\"content-center\" class=\"content-right content-center-large notaris\">
  795.             <div id=\"content-center-header\">
  796.                 <article class=\"niveau1\">
  797.                     <div class=\"article-header u-padding-small u-word-wrap u-word-wrap-hyphens@mobile\">
  798.                         <h1 class=\"u-text-lineheight-semilarge u-h2@desktop\">{{ tag.name | capitalize }}</h1>
  799.                     </div>
  800.                     {% if tag.description %}
  801.                         <div class=\"article-content\">
  802.                             {{ tag.description | raw }}
  803.                             <div class=\"cleaner\">&nbsp;</div>
  804.                         </div>
  805.                     {% endif %}
  806.                 </article>
  807.                 <article class=\"niveau3 fillcolor u-margin-top-large\">
  808.                     <div class=\"article-content\">
  809.                         <h2 class=\"u-text-lineheight-semilarge u-h2-small\">{{ 'tag_artikelsgevonden1' | trans | raw }} \"{{ tag.name }}\" {{ 'tag_artikelsgevonden2' | trans | raw }} {{ total }} {{ 'tag_artikelsgevonden3' | trans | raw }}.</h2>
  810.                     </div>
  811.                 </article>
  812.             </div>
  813.             {% if totalpages > 1 %}
  814.                 <div class=\"prevnext-pages border-bottom\">
  815.                     {% if currentpage + 1 != 1 %}
  816.                         {% if currentpage  == 1 %}
  817.                             <a href=\"{{ path('notaris_frontend_tag', {'tagSlug': tag.slug}) }}\">{{ 'vorige' | trans | raw }}</a>
  818.                         {% else %}
  819.                             <a href=\"{{ path('notaris_frontend_tag_page', {'page': currentpage - 1, 'tagSlug': tag.slug}) }}\">{{ 'vorige' | trans | raw }}</a>
  820.                         {% endif %}
  821.                     {% else %}
  822.                         <span>{{ 'vorige' | trans | raw }}</span>
  823.                     {% endif %}
  824.                     {% set count = 0 %}
  825.                     {% set vispages = 4 %}
  826.                     {% set index = 0 %}
  827.                     {% if currentpage + 1 <= 2 %}
  828.                         {% set start = 1 %}
  829.                     {% else %}
  830.                         {% set start = currentpage + 1 - 2 %}
  831.                         {% set vispages = vispages + 1 %}
  832.                     {% endif %}
  833.                     {% if start + 4> totalpages %}
  834.                         {% set start = totalpages - 3  %}
  835.                     {% endif %}
  836.                     {% if start < 1 %}
  837.                         {% set start = 1 %}
  838.                     {% endif %}
  839.                     {% if start != 1 %}
  840.                         <span>...</span>
  841.                     {% endif %}
  842.                     {% for  i in start..totalpages %}
  843.                         {% set count = count + 1 %}
  844.                         {% if count <= vispages %}
  845.                             {% set index = i %}
  846.                             {% if i == currentpage + 1 %}
  847.                                 <span class=\"current\">{{ i }}</span>
  848.                             {% else %}
  849.                                 {% if i == 1 %}
  850.                                     <a href=\"{{ path('notaris_frontend_tag', {'tagSlug': tag.slug}) }}\">{{ i }}</a>
  851.                                 {% else %}
  852.                                     <a href=\"{{ path('notaris_frontend_tag_page', {'page': i - 1, 'tagSlug': tag.slug}) }}\">{{ i }}</a>
  853.                                 {% endif %}
  854.                             {% endif %}
  855.                         {% endif %}
  856.                     {% endfor %}
  857.                     {% if index != totalpages %}
  858.                         <span>...</span>
  859.                     {% endif %}
  860.                     {% if currentpage + 1 != totalpages %}
  861.                         <a href=\"{{ path('notaris_frontend_tag_page', {'page': currentpage + 1, 'tagSlug': tag.slug}) }}\">{{ 'volgende' | trans | raw }}</a>
  862.                     {% else %}
  863.                         <span>{{ 'volgende' | trans | raw }}</span>
  864.                     {% endif %}
  865.                 </div>
  866.             {% endif %}
  867.             <section id=\"info\" class=\"no-margin\">
  868.                 <div id=\"info-content\" class=\"niveau1 info-news-content\">
  869.                     {% for tagresult in tagresults %}
  870.                         {% set index = loop.index + (currentpage * 25) %}
  871.                         <a class=\"info-content-blocklink\" href=\"{{ tagresult.urlpath }}\" title=\"{{ tagresult.title }}\">
  872.                             <h2 class=\"u-text-lineheight-semilarge u-h2-small-bold {% if not tagresult.description %} u-h2-margin {% else %} u-h2-no-margin{% endif %}\">{{ tagresult.title }}</h2>
  873.                             {% if tagresult.description %}
  874.                             <p class=\"no-top-padding\">
  875.                                 {% set words = tagresult.description | striptags | split(' ') %}
  876.                                 {% for word in words|slice(0, 22) %}
  877.                                     {% if loop.last and words|length > 22 %}
  878.                                         {{ word | replace({'.':''}) | raw }}...
  879.                                     {% else %}
  880.                                             {{ word | raw }}
  881.                                     {% endif %}
  882.                                 {% endfor %}
  883.                             </p>
  884.                             {% endif %}
  885.                         </a>
  886.                     {% endfor %}
  887.                 </div>
  888.             </section>
  889.             {% if totalpages > 1 %}
  890.                 <div class=\"prevnext-pages\">
  891.                     {% if currentpage + 1 != 1 %}
  892.                         {% if currentpage  == 1 %}
  893.                             <a href=\"{{ path('notaris_frontend_tag', {'tagSlug': tag.slug}) }}\">{{ 'vorige' | trans | raw }}</a>
  894.                         {% else %}
  895.                             <a href=\"{{ path('notaris_frontend_tag_page', {'page': currentpage - 1, 'tagSlug': tag.slug}) }}\">{{ 'vorige' | trans | raw }}</a>
  896.                         {% endif %}
  897.                     {% else %}
  898.                         <span>{{ 'vorige' | trans | raw }}</span>
  899.                     {% endif %}
  900.                     {% set count = 0 %}
  901.                     {% set vispages = 4 %}
  902.                     {% set index = 0 %}
  903.                     {% if currentpage + 1 <= 2 %}
  904.                         {% set start = 1 %}
  905.                     {% else %}
  906.                         {% set start = currentpage + 1 - 2 %}
  907.                         {% set vispages = vispages + 1 %}
  908.                     {% endif %}
  909.                     {% if start + 4> totalpages %}
  910.                         {% set start = totalpages - 3  %}
  911.                     {% endif %}
  912.                     {% if start < 1 %}
  913.                         {% set start = 1 %}
  914.                     {% endif %}
  915.                     {% if start != 1 %}
  916.                         <span>...</span>
  917.                     {% endif %}
  918.                     {% for  i in start..totalpages %}
  919.                         {% set count = count + 1 %}
  920.                         {% if count <= vispages %}
  921.                             {% set index = i %}
  922.                             {% if i == currentpage + 1 %}
  923.                                 <span class=\"current\">{{ i }}</span>
  924.                             {% else %}
  925.                                 {% if i == 1 %}
  926.                                     <a href=\"{{ path('notaris_frontend_tag', {'tagSlug': tag.slug}) }}\">{{ i }}</a>
  927.                                 {% else %}
  928.                                     <a href=\"{{ path('notaris_frontend_tag_page', {'page': i - 1, 'tagSlug': tag.slug}) }}\">{{ i }}</a>
  929.                                 {% endif %}
  930.                             {% endif %}
  931.                         {% endif %}
  932.                     {% endfor %}
  933.                     {% if index != totalpages %}
  934.                         <span>...</span>
  935.                     {% endif %}
  936.                     {% if currentpage + 1 != totalpages %}
  937.                         <a href=\"{{ path('notaris_frontend_tag_page', {'page': currentpage + 1, 'tagSlug': tag.slug}) }}\">{{ 'volgende' | trans | raw }}</a>
  938.                     {% else %}
  939.                         <span>{{ 'volgende' | trans | raw }}</span>
  940.                     {% endif %}
  941.                 </div>
  942.             {% endif %}
  943.         </div>
  944.         <div class=\"cleaner hidedesktop\">&nbsp;</div>
  945.         {#
  946.             <aside id=\"content-right\">
  947.                 {% if notaryId is defined %}
  948.                     {{ include('@NotarisFrontend/Sven/_sven_address.html.twig') }}
  949.                 {% else %}
  950.                     {{ include('@NotarisFrontend/Module/notsearch_module.html.twig') }}
  951.                 {% endif %}
  952.             </aside>
  953.         #}
  954.         {% include '@NotarisFrontend/navigation/mobilesubnav.html.twig' with {'websiteSlug': '', 'isSven':false, 'isHome':false, 'subsite': ''} %}
  955.     </section>
  956. {% endblock %}
  957. {% block footer %}
  958.     <div class=\"u-bg-off-white u-padding-top-small u-padding-bottom-large\">
  959.         <div class=\"o-wrapper\">
  960.             <div class=\"o-layout\">
  961.                 {% for subsite in getSubsites(locale)  %}
  962.                     <div class=\"o-layout__item u-1/1 u-1/2@mobile u-1/3@tablet u-1/4@desktop c-tags u-padding-top-small js-tags\">
  963.                         <p class=\"u-margin-bottom-tiny u-color-{{ subsite.stylesheet }}\">{{ subsite.name }}</p>
  964.                         {% for tag in getTags(subsite) %}
  965.                             <div class=\"u-clearfix\">
  966.                                 <a data-slug=\"{{ tag.slug }}\" data-tag-clicked=\"{{ path('notaris_frontend_tag_clicked') }}\" href=\"{{ path('notaris_frontend_tag', {'tagSlug': tag.slug }) }}\" title=\"{{ tag.name }}\" class=\"c-tags__item c-tags__item--block c-tags__item--showonhover c-tags__item--footer u-text-small\">{{ tag.name }}</a>
  967.                             </div>
  968.                         {% endfor %}
  969.                     </div>
  970.                 {% endfor %}
  971.             </div>
  972.         </div>
  973.     </div>
  974. {% endblock %}
  975. {% block extrajs %}
  976. {% endblock %}
  977. ", "@NotarisFrontend/tag/index.html.twig", "/data/sites/web/notarisdc-projectsbe/subsites/apps/default/releases/7/src/Notaris/FrontendBundle/Resources/views/tag/index.html.twig");
  978.     }
  979. }