var/cache/dev/twig/d0/d0e87c6c8d89158d8989e9b326033ebc.php line 152

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig */
  16. class __TwigTemplate_d1c9595b8a8b168b33d1ad6570b20563 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.             'metaData' => [$this'block_metaData'],
  30.             'title' => [$this'block_title'],
  31.             'additionalHead' => [$this'block_additionalHead'],
  32.             'navigation' => [$this'block_navigation'],
  33.             'content' => [$this'block_content'],
  34.             'footer' => [$this'block_footer'],
  35.             'infiniteLoop' => [$this'block_infiniteLoop'],
  36.             'javascriptInfiniteLoop' => [$this'block_javascriptInfiniteLoop'],
  37.             'ajax_helpers' => [$this'block_ajax_helpers'],
  38.             'javascripts' => [$this'block_javascripts'],
  39.         ];
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = []): iterable
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig"));
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig"));
  48.         // line 1
  49.         yield "<!DOCTYPE html>
  50. <html lang=\"en\">
  51. <head>
  52.     <!-- homepage.with-sections -->
  53.     <!-- Required meta tags -->
  54.     <meta charset=\"utf-8\">
  55.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  56.     ";
  57.         // line 9
  58.         yield from $this->unwrap()->yieldBlock('metaData'$context$blocks);
  59.         // line 21
  60.         yield "
  61.     <link rel=\"profile\" href=\"http://gmpg.org/xfn/11\">
  62.     <link rel=\"pingback\" href=\"https://www.startplatz.de/xmlrpc.php\">
  63.     
  64.     ";
  65.         // line 25
  66.         yield from $this->load("@StartPlatzStyleBundle/_icon.html.twig"25)->unwrap()->yield($context);
  67.         // line 26
  68.         yield "
  69.     <title>";
  70.         // line 27
  71.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  72.         yield "</title>
  73.     <!-- Bootstrap CSS -->
  74.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css\" integrity=\"sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N\" crossorigin=\"anonymous\">
  75.     <script src=\"https://kit.fontawesome.com/30335e3531.js\" crossorigin=\"anonymous\"></script>
  76.     <link href=\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap\" rel=\"stylesheet\">
  77.     ";
  78.         // line 34
  79.         yield from $this->load("@StartPlatzStyleBundle/_tracking.html.twig"34)->unwrap()->yield($context);
  80.         // line 35
  81.         yield "
  82.     <style type=\"text/css\">
  83.         body {
  84.             padding-top: 50px;
  85.             font-family: 'Source Sans Pro', sans-serif;
  86.         }
  87.     </style>
  88.     ";
  89.         // line 43
  90.         yield from $this->unwrap()->yieldBlock('additionalHead'$context$blocks);
  91.         // line 45
  92.         yield "    ";
  93.         // line 46
  94.         yield "    ";
  95.         yield $this->extensions['App\StartPlatz\Bundle\WebsiteBundle\Twig\Extension']->getStartplatzGa();
  96.         yield "
  97. </head>
  98. <body>
  99. <!-- Google Tag Manager (noscript) -->
  100. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5WTVWDT\"
  101.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  102. <!-- End Google Tag Manager (noscript) -->
  103. ";
  104.         // line 56
  105.         $context["master"] = false;
  106.         // line 57
  107.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse57) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'57$this->source); })()), "user", [], "any"falsefalsefalse57)))) {
  108.             // line 58
  109.             yield "    ";
  110.             if ((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'58$this->source); })()), "user", [], "any"falsefalsefalse58), "getMaster", [], "any"falsefalsefalse58)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  111.                 $context["master"] = true;
  112.             }
  113.         }
  114.         // line 60
  115.         $context["admin"] = false;
  116.         // line 61
  117.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse61) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'61$this->source); })()), "user", [], "any"falsefalsefalse61)))) {
  118.             // line 62
  119.             yield "    ";
  120.             if ((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'62$this->source); })()), "user", [], "any"falsefalsefalse62), "getAdmin", [], "any"falsefalsefalse62)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  121.                 $context["admin"] = true;
  122.             }
  123.         }
  124.         // line 64
  125.         yield "
  126. <!-- start navigation -->
  127. ";
  128.         // line 66
  129.         yield from $this->unwrap()->yieldBlock('navigation'$context$blocks);
  130.         // line 67
  131.         yield "<!-- end navigation -->
  132. <!-- start content -->
  133. ";
  134.         // line 70
  135.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  136.         // line 71
  137.         yield "<!-- end content -->
  138. <!-- start footer -->
  139. ";
  140.         // line 74
  141.         yield from $this->unwrap()->yieldBlock('footer'$context$blocks);
  142.         // line 75
  143.         yield "<!-- end footer -->
  144. <div class=\"modal fade\" id=\"mySmallModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  145.     <div class=\"modal-dialog modal-sm\">
  146.     </div>
  147. </div>
  148. <div class=\"modal fade\" id=\"myLargeModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  149.     <div class=\"modal-dialog modal-lg\">
  150.     </div>
  151. </div>
  152. <div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  153.     <div class=\"modal-dialog\">
  154.     </div>
  155. </div>
  156. ";
  157.         // line 92
  158.         yield from $this->unwrap()->yieldBlock('infiniteLoop'$context$blocks);
  159.         // line 105
  160.         yield "
  161. ";
  162.         // line 106
  163.         if ((($tmp =  !array_key_exists("maxPages"$context)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  164.             // line 107
  165.             yield "    ";
  166.             $context["maxPages"] = 100;
  167.         }
  168.         // line 109
  169.         yield "
  170. ";
  171.         // line 110
  172.         yield from $this->load("@StartPlatzStyleBundle/_cookie.consent.html.twig"110)->unwrap()->yield($context);
  173.         // line 111
  174.         yield "
  175. <!-- Bootstrap core JavaScript
  176. ================================================== -->
  177. <!-- Placed at the end of the document so the pages load faster -->
  178. <!-- Vollständige jQuery-Version mit Ajax-Unterstützung -->
  179. <script src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js\" integrity=\"sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=\" crossorigin=\"anonymous\"></script>
  180. <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct\" crossorigin=\"anonymous\"></script>
  181. <!-- javascript for infinite scroll -->
  182. <script src=\"";
  183.         // line 120
  184.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/startplatzstyle/js/jquery-ias.min.js"), "html"nulltrue);
  185.         yield "\"></script>
  186. <script type=\"text/javascript\">
  187.     // Fill modal with content from link href
  188.     \$(\"#mySmallModal\").on(\"show.bs.modal\", function(e) {
  189.         var link = \$(e.relatedTarget);
  190.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  191.     });
  192.     // Fill modal with content from link href
  193.     \$(\"#myLargeModal\").on(\"show.bs.modal\", function(e) {
  194.         var link = \$(e.relatedTarget);
  195.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  196.     });
  197.     // Fill modal with content from link href
  198.     \$(\"#myModal\").on(\"show.bs.modal\", function(e) {
  199.         var link = \$(e.relatedTarget);
  200.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  201.     });
  202.     \$(function () {
  203.         \$('[data-toggle=\"tooltip\"]').tooltip()
  204.     });
  205. </script>
  206. ";
  207.         // line 145
  208.         if ((($tmp =  !array_key_exists("version"$context)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  209.             // line 146
  210.             yield "    ";
  211.             $context["version"] = "default";
  212.         }
  213.         // line 148
  214.         yield "
  215. ";
  216.         // line 149
  217.         yield from $this->unwrap()->yieldBlock('javascriptInfiniteLoop'$context$blocks);
  218.         // line 175
  219.         yield "
  220. ";
  221.         // line 176
  222.         yield from $this->unwrap()->yieldBlock('ajax_helpers'$context$blocks);
  223.         // line 180
  224.         yield "
  225. ";
  226.         // line 181
  227.         yield from $this->unwrap()->yieldBlock('javascripts'$context$blocks);
  228.         // line 183
  229.         yield "</body>
  230. </html>
  231. ";
  232.         
  233.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  234.         
  235.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  236.         yield from [];
  237.     }
  238.     // line 9
  239.     /**
  240.      * @return iterable<null|scalar|\Stringable>
  241.      */
  242.     public function block_metaData(array $context, array $blocks = []): iterable
  243.     {
  244.         $macros $this->macros;
  245.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  246.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  247.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  248.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  249.         // line 10
  250.         yield "        <meta name=\"description\" content=\"STARTPLATZ Homepage - Dein Platz zum Gründen und Wachsen\">
  251.         <meta name=\"author\" content=\"\">
  252.         ";
  253.         // line 12
  254.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "environment", [], "any"falsefalsefalse12) == "prod")) {
  255.             // line 13
  256.             yield "            <meta name=\"robots\" content=\"index,follow\">
  257.             ";
  258.             // line 14
  259.             if ((array_key_exists("canonicalUrl"$context) &&  !Twig\Extension\CoreExtension::testEmpty((isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl"$context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.'14$this->source); })())))) {
  260.                 // line 15
  261.                 yield "                <link rel=\"canonical\" href=\"";
  262.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl"$context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.'15$this->source); })()), "html"nulltrue);
  263.                 yield "\" />
  264.             ";
  265.             }
  266.             // line 17
  267.             yield "        ";
  268.         } else {
  269.             // line 18
  270.             yield "            <meta name=\"robots\" content=\"noindex,nofollow\">
  271.         ";
  272.         }
  273.         // line 20
  274.         yield "    ";
  275.         
  276.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  277.         
  278.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  279.         yield from [];
  280.     }
  281.     // line 27
  282.     /**
  283.      * @return iterable<null|scalar|\Stringable>
  284.      */
  285.     public function block_title(array $context, array $blocks = []): iterable
  286.     {
  287.         $macros $this->macros;
  288.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  291.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  292.         yield "STARTPLATZ";
  293.         
  294.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  295.         
  296.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  297.         yield from [];
  298.     }
  299.     // line 43
  300.     /**
  301.      * @return iterable<null|scalar|\Stringable>
  302.      */
  303.     public function block_additionalHead(array $context, array $blocks = []): iterable
  304.     {
  305.         $macros $this->macros;
  306.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  308.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  309.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  310.         // line 44
  311.         yield "    ";
  312.         
  313.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  314.         
  315.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  316.         yield from [];
  317.     }
  318.     // line 66
  319.     /**
  320.      * @return iterable<null|scalar|\Stringable>
  321.      */
  322.     public function block_navigation(array $context, array $blocks = []): iterable
  323.     {
  324.         $macros $this->macros;
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  326.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  327.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  328.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  329.         
  330.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  331.         
  332.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  333.         yield from [];
  334.     }
  335.     // line 70
  336.     /**
  337.      * @return iterable<null|scalar|\Stringable>
  338.      */
  339.     public function block_content(array $context, array $blocks = []): iterable
  340.     {
  341.         $macros $this->macros;
  342.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  343.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  344.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  345.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  346.         
  347.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  348.         
  349.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  350.         yield from [];
  351.     }
  352.     // line 74
  353.     /**
  354.      * @return iterable<null|scalar|\Stringable>
  355.      */
  356.     public function block_footer(array $context, array $blocks = []): iterable
  357.     {
  358.         $macros $this->macros;
  359.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  360.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  361.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  362.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  363.         
  364.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  365.         
  366.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  367.         yield from [];
  368.     }
  369.     // line 92
  370.     /**
  371.      * @return iterable<null|scalar|\Stringable>
  372.      */
  373.     public function block_infiniteLoop(array $context, array $blocks = []): iterable
  374.     {
  375.         $macros $this->macros;
  376.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  377.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""infiniteLoop"));
  378.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  379.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""infiniteLoop"));
  380.         // line 93
  381.         yield "    ";
  382.         if ((array_key_exists("maxPages"$context) && ((isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'93$this->source); })()) > 1))) {
  383.             // line 94
  384.             yield "        <div id=\"pagination\">
  385.             <a href=\"";
  386.             // line 95
  387.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'95$this->source); })()), ["page" => (isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'95$this->source); })())]), "html"nulltrue);
  388.             yield "\">";
  389.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'95$this->source); })()), "html"nulltrue);
  390.             yield "</a>
  391.             ";
  392.             // line 97
  393.             if (((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'97$this->source); })()) != (isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'97$this->source); })()))) {
  394.                 // line 98
  395.                 yield "                <a href=\"";
  396.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'98$this->source); })()), (["page" => (((((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'98$this->source); })()) + 1) <= (isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'98$this->source); })()))) ? (((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'98$this->source); })()) + 1)) : ((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'98$this->source); })())))] + (isset($context["templateVars"]) || array_key_exists("templateVars"$context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.'98$this->source); })()))), "html"nulltrue);
  397.                 yield "\" class=\"next\">»</a>
  398.             ";
  399.             }
  400.             // line 100
  401.             yield "        </div>
  402.     ";
  403.         } else {
  404.             // line 102
  405.             yield "        ";
  406.             $context["maxPages"] = 100;
  407.             // line 103
  408.             yield "    ";
  409.         }
  410.         
  411.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  412.         
  413.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  414.         yield from [];
  415.     }
  416.     // line 149
  417.     /**
  418.      * @return iterable<null|scalar|\Stringable>
  419.      */
  420.     public function block_javascriptInfiniteLoop(array $context, array $blocks = []): iterable
  421.     {
  422.         $macros $this->macros;
  423.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  424.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptInfiniteLoop"));
  425.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  426.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptInfiniteLoop"));
  427.         // line 150
  428.         yield "<script type=\"text/javascript\">
  429.     var ias = \$.ias({
  430.         container:  \"#posts\",
  431.         item:       \".item\",
  432.         pagination: \"#pagination\",
  433.         negativeMargin: \"500\",
  434.         next:       \".next\"
  435.     });
  436.     ias.extension(new IASSpinnerExtension());            // shows a spinner (a.k.a. loader)
  437.     ias.extension(new IASTriggerExtension({offset: ";
  438.         // line 160
  439.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'160$this->source); })()), "html"nulltrue);
  440.         yield " })); // shows a trigger after page 3
  441.     ias.extension(new IASNoneLeftExtension({
  442.         text: 'There are no more pages left to load.'      // override text when no pages left
  443.     }));
  444.     ias.on('load', function(event) {
  445.         event.url = event.url + \"&ajax=1&version=";
  446.         // line 166
  447.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version"$context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.'166$this->source); })()), "html"nulltrue);
  448.         yield "\";
  449.         console.log('Loaded ' + event.url  + ' url from server');
  450.         console.log('url  tracking: ' + event.url );
  451.     });
  452. </script>
  453. ";
  454.         
  455.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  456.         
  457.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  458.         yield from [];
  459.     }
  460.     // line 176
  461.     /**
  462.      * @return iterable<null|scalar|\Stringable>
  463.      */
  464.     public function block_ajax_helpers(array $context, array $blocks = []): iterable
  465.     {
  466.         $macros $this->macros;
  467.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  468.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ajax_helpers"));
  469.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  470.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ajax_helpers"));
  471.         // line 177
  472.         yield "    <!-- Include Ajax Helpers By Default - Override if not needed -->
  473.     ";
  474.         // line 178
  475.         yield from $this->load("@StartPlatzStyleBundle/Bootstrap4/_javascript.ajax-helpers.html.twig"178)->unwrap()->yield($context);
  476.         
  477.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  478.         
  479.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  480.         yield from [];
  481.     }
  482.     // line 181
  483.     /**
  484.      * @return iterable<null|scalar|\Stringable>
  485.      */
  486.     public function block_javascripts(array $context, array $blocks = []): iterable
  487.     {
  488.         $macros $this->macros;
  489.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  490.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  491.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  492.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  493.         
  494.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  495.         
  496.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  497.         yield from [];
  498.     }
  499.     /**
  500.      * @codeCoverageIgnore
  501.      */
  502.     public function getTemplateName(): string
  503.     {
  504.         return "@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig";
  505.     }
  506.     /**
  507.      * @codeCoverageIgnore
  508.      */
  509.     public function isTraitable(): bool
  510.     {
  511.         return false;
  512.     }
  513.     /**
  514.      * @codeCoverageIgnore
  515.      */
  516.     public function getDebugInfo(): array
  517.     {
  518.         return array (  564 => 181,  553 => 178,  550 => 177,  537 => 176,  517 => 166,  508 => 160,  496 => 150,  483 => 149,  471 => 103,  468 => 102,  464 => 100,  458 => 98,  456 => 97,  449 => 95,  446 => 94,  443 => 93,  430 => 92,  408 => 74,  386 => 70,  364 => 66,  353 => 44,  340 => 43,  317 => 27,  306 => 20,  302 => 18,  299 => 17,  293 => 15,  291 => 14,  288 => 13,  286 => 12,  282 => 10,  269 => 9,  256 => 183,  254 => 181,  251 => 180,  249 => 176,  246 => 175,  244 => 149,  241 => 148,  237 => 146,  235 => 145,  207 => 120,  196 => 111,  194 => 110,  191 => 109,  187 => 107,  185 => 106,  182 => 105,  180 => 92,  161 => 75,  159 => 74,  154 => 71,  152 => 70,  147 => 67,  145 => 66,  141 => 64,  135 => 62,  133 => 61,  131 => 60,  125 => 58,  123 => 57,  121 => 56,  107 => 46,  105 => 45,  103 => 43,  93 => 35,  91 => 34,  81 => 27,  78 => 26,  76 => 25,  70 => 21,  68 => 9,  58 => 1,);
  519.     }
  520.     public function getSourceContext(): Source
  521.     {
  522.         return new Source("<!DOCTYPE html>
  523. <html lang=\"en\">
  524. <head>
  525.     <!-- homepage.with-sections -->
  526.     <!-- Required meta tags -->
  527.     <meta charset=\"utf-8\">
  528.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  529.     {% block metaData %}
  530.         <meta name=\"description\" content=\"STARTPLATZ Homepage - Dein Platz zum Gründen und Wachsen\">
  531.         <meta name=\"author\" content=\"\">
  532.         {% if app.environment == 'prod' %}
  533.             <meta name=\"robots\" content=\"index,follow\">
  534.             {% if canonicalUrl is defined and canonicalUrl is not empty %}
  535.                 <link rel=\"canonical\" href=\"{{ canonicalUrl }}\" />
  536.             {% endif %}
  537.         {% else %}
  538.             <meta name=\"robots\" content=\"noindex,nofollow\">
  539.         {% endif %}
  540.     {% endblock %}
  541.     <link rel=\"profile\" href=\"http://gmpg.org/xfn/11\">
  542.     <link rel=\"pingback\" href=\"https://www.startplatz.de/xmlrpc.php\">
  543.     
  544.     {% include \"@StartPlatzStyleBundle/_icon.html.twig\" %}
  545.     <title>{% block title %}STARTPLATZ{% endblock %}</title>
  546.     <!-- Bootstrap CSS -->
  547.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css\" integrity=\"sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N\" crossorigin=\"anonymous\">
  548.     <script src=\"https://kit.fontawesome.com/30335e3531.js\" crossorigin=\"anonymous\"></script>
  549.     <link href=\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap\" rel=\"stylesheet\">
  550.     {% include \"@StartPlatzStyleBundle/_tracking.html.twig\" %}
  551.     <style type=\"text/css\">
  552.         body {
  553.             padding-top: 50px;
  554.             font-family: 'Source Sans Pro', sans-serif;
  555.         }
  556.     </style>
  557.     {% block additionalHead %}
  558.     {% endblock %}
  559.     {# calls Google tag (gtag.js); defined in WebsiteBundle/Twig/Extension.php #}
  560.     {{ startplatz_ga()|raw }}
  561. </head>
  562. <body>
  563. <!-- Google Tag Manager (noscript) -->
  564. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5WTVWDT\"
  565.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  566. <!-- End Google Tag Manager (noscript) -->
  567. {% set master = false %}
  568. {% if app.user is defined and app.user is not empty %}
  569.     {% if app.user.getMaster %}{% set master = true %}{% endif %}
  570. {% endif %}
  571. {% set admin = false %}
  572. {% if app.user is defined and app.user is not empty %}
  573.     {% if app.user.getAdmin %}{% set admin = true %}{% endif %}
  574. {% endif %}
  575. <!-- start navigation -->
  576. {% block navigation %}{% endblock %}
  577. <!-- end navigation -->
  578. <!-- start content -->
  579. {% block content %}{% endblock %}
  580. <!-- end content -->
  581. <!-- start footer -->
  582. {% block footer %}{% endblock %}
  583. <!-- end footer -->
  584. <div class=\"modal fade\" id=\"mySmallModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  585.     <div class=\"modal-dialog modal-sm\">
  586.     </div>
  587. </div>
  588. <div class=\"modal fade\" id=\"myLargeModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  589.     <div class=\"modal-dialog modal-lg\">
  590.     </div>
  591. </div>
  592. <div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  593.     <div class=\"modal-dialog\">
  594.     </div>
  595. </div>
  596. {% block infiniteLoop %}
  597.     {% if maxPages is defined and maxPages > 1 %}
  598.         <div id=\"pagination\">
  599.             <a href=\"{{ path(currentPath, {page: thisPage} ) }}\">{{ thisPage }}</a>
  600.             {% if  thisPage != maxPages %}
  601.                 <a href=\"{{ path( currentPath, {page: thisPage+1 <= maxPages ? thisPage+1 : thisPage} + templateVars) }}\" class=\"next\">»</a>
  602.             {% endif %}
  603.         </div>
  604.     {% else %}
  605.         {% set maxPages = 100 %}
  606.     {% endif %}
  607. {% endblock %}
  608. {% if maxPages is not defined %}
  609.     {% set maxPages = 100 %}
  610. {% endif %}
  611. {% include \"@StartPlatzStyleBundle/_cookie.consent.html.twig\" %}
  612. <!-- Bootstrap core JavaScript
  613. ================================================== -->
  614. <!-- Placed at the end of the document so the pages load faster -->
  615. <!-- Vollständige jQuery-Version mit Ajax-Unterstützung -->
  616. <script src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js\" integrity=\"sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=\" crossorigin=\"anonymous\"></script>
  617. <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct\" crossorigin=\"anonymous\"></script>
  618. <!-- javascript for infinite scroll -->
  619. <script src=\"{{ asset('bundles/startplatzstyle/js/jquery-ias.min.js') }}\"></script>
  620. <script type=\"text/javascript\">
  621.     // Fill modal with content from link href
  622.     \$(\"#mySmallModal\").on(\"show.bs.modal\", function(e) {
  623.         var link = \$(e.relatedTarget);
  624.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  625.     });
  626.     // Fill modal with content from link href
  627.     \$(\"#myLargeModal\").on(\"show.bs.modal\", function(e) {
  628.         var link = \$(e.relatedTarget);
  629.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  630.     });
  631.     // Fill modal with content from link href
  632.     \$(\"#myModal\").on(\"show.bs.modal\", function(e) {
  633.         var link = \$(e.relatedTarget);
  634.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  635.     });
  636.     \$(function () {
  637.         \$('[data-toggle=\"tooltip\"]').tooltip()
  638.     });
  639. </script>
  640. {% if version is not defined %}
  641.     {% set version = 'default' %}
  642. {% endif %}
  643. {% block javascriptInfiniteLoop %}
  644. <script type=\"text/javascript\">
  645.     var ias = \$.ias({
  646.         container:  \"#posts\",
  647.         item:       \".item\",
  648.         pagination: \"#pagination\",
  649.         negativeMargin: \"500\",
  650.         next:       \".next\"
  651.     });
  652.     ias.extension(new IASSpinnerExtension());            // shows a spinner (a.k.a. loader)
  653.     ias.extension(new IASTriggerExtension({offset: {{ maxPages }} })); // shows a trigger after page 3
  654.     ias.extension(new IASNoneLeftExtension({
  655.         text: 'There are no more pages left to load.'      // override text when no pages left
  656.     }));
  657.     ias.on('load', function(event) {
  658.         event.url = event.url + \"&ajax=1&version={{ version }}\";
  659.         console.log('Loaded ' + event.url  + ' url from server');
  660.         console.log('url  tracking: ' + event.url );
  661.     });
  662. </script>
  663. {% endblock %}
  664. {% block ajax_helpers %}
  665.     <!-- Include Ajax Helpers By Default - Override if not needed -->
  666.     {% include '@StartPlatzStyleBundle/Bootstrap4/_javascript.ajax-helpers.html.twig' %}
  667. {% endblock %}
  668. {% block javascripts %}
  669. {% endblock %}
  670. </body>
  671. </html>
  672. ""@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig""/var/www/html/src/StartPlatz/Bundle/StyleBundle/Resources/views/Bootstrap4/base.homepage.with-sections.html.twig");
  673.     }
  674. }