<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* @StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig */
class __TwigTemplate_d1c9595b8a8b168b33d1ad6570b20563 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'metaData' => [$this, 'block_metaData'],
'title' => [$this, 'block_title'],
'additionalHead' => [$this, 'block_additionalHead'],
'navigation' => [$this, 'block_navigation'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'infiniteLoop' => [$this, 'block_infiniteLoop'],
'javascriptInfiniteLoop' => [$this, 'block_javascriptInfiniteLoop'],
'ajax_helpers' => [$this, 'block_ajax_helpers'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"en\">
<head>
<!-- homepage.with-sections -->
<!-- Required meta tags -->
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
";
// line 9
yield from $this->unwrap()->yieldBlock('metaData', $context, $blocks);
// line 21
yield "
<link rel=\"profile\" href=\"http://gmpg.org/xfn/11\">
<link rel=\"pingback\" href=\"https://www.startplatz.de/xmlrpc.php\">
";
// line 25
yield from $this->load("@StartPlatzStyleBundle/_icon.html.twig", 25)->unwrap()->yield($context);
// line 26
yield "
<title>";
// line 27
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
yield "</title>
<!-- Bootstrap CSS -->
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css\" integrity=\"sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N\" crossorigin=\"anonymous\">
<script src=\"https://kit.fontawesome.com/30335e3531.js\" crossorigin=\"anonymous\"></script>
<link href=\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap\" rel=\"stylesheet\">
";
// line 34
yield from $this->load("@StartPlatzStyleBundle/_tracking.html.twig", 34)->unwrap()->yield($context);
// line 35
yield "
<style type=\"text/css\">
body {
padding-top: 50px;
font-family: 'Source Sans Pro', sans-serif;
}
</style>
";
// line 43
yield from $this->unwrap()->yieldBlock('additionalHead', $context, $blocks);
// line 45
yield " ";
// line 46
yield " ";
yield $this->extensions['App\StartPlatz\Bundle\WebsiteBundle\Twig\Extension']->getStartplatzGa();
yield "
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5WTVWDT\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
";
// line 56
$context["master"] = false;
// line 57
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 57) && !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", false, false, false, 57)))) {
// line 58
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, 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.', 58, $this->source); })()), "user", [], "any", false, false, false, 58), "getMaster", [], "any", false, false, false, 58)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
$context["master"] = true;
}
}
// line 60
$context["admin"] = false;
// line 61
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 61) && !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", false, false, false, 61)))) {
// line 62
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, 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.', 62, $this->source); })()), "user", [], "any", false, false, false, 62), "getAdmin", [], "any", false, false, false, 62)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
$context["admin"] = true;
}
}
// line 64
yield "
<!-- start navigation -->
";
// line 66
yield from $this->unwrap()->yieldBlock('navigation', $context, $blocks);
// line 67
yield "<!-- end navigation -->
<!-- start content -->
";
// line 70
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 71
yield "<!-- end content -->
<!-- start footer -->
";
// line 74
yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
// line 75
yield "<!-- end footer -->
<div class=\"modal fade\" id=\"mySmallModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-sm\">
</div>
</div>
<div class=\"modal fade\" id=\"myLargeModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\">
</div>
</div>
<div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
</div>
</div>
";
// line 92
yield from $this->unwrap()->yieldBlock('infiniteLoop', $context, $blocks);
// line 105
yield "
";
// line 106
if ((($tmp = !array_key_exists("maxPages", $context)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 107
yield " ";
$context["maxPages"] = 100;
}
// line 109
yield "
";
// line 110
yield from $this->load("@StartPlatzStyleBundle/_cookie.consent.html.twig", 110)->unwrap()->yield($context);
// line 111
yield "
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- Vollständige jQuery-Version mit Ajax-Unterstützung -->
<script src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js\" integrity=\"sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=\" crossorigin=\"anonymous\"></script>
<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>
<!-- javascript for infinite scroll -->
<script src=\"";
// line 120
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/startplatzstyle/js/jquery-ias.min.js"), "html", null, true);
yield "\"></script>
<script type=\"text/javascript\">
// Fill modal with content from link href
\$(\"#mySmallModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
// Fill modal with content from link href
\$(\"#myLargeModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
// Fill modal with content from link href
\$(\"#myModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
\$(function () {
\$('[data-toggle=\"tooltip\"]').tooltip()
});
</script>
";
// line 145
if ((($tmp = !array_key_exists("version", $context)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 146
yield " ";
$context["version"] = "default";
}
// line 148
yield "
";
// line 149
yield from $this->unwrap()->yieldBlock('javascriptInfiniteLoop', $context, $blocks);
// line 175
yield "
";
// line 176
yield from $this->unwrap()->yieldBlock('ajax_helpers', $context, $blocks);
// line 180
yield "
";
// line 181
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 183
yield "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 9
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metaData(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaData"));
// line 10
yield " <meta name=\"description\" content=\"STARTPLATZ Homepage - Dein Platz zum Gründen und Wachsen\">
<meta name=\"author\" content=\"\">
";
// line 12
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", false, false, false, 12) == "prod")) {
// line 13
yield " <meta name=\"robots\" content=\"index,follow\">
";
// line 14
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); })())))) {
// line 15
yield " <link rel=\"canonical\" href=\"";
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", null, true);
yield "\" />
";
}
// line 17
yield " ";
} else {
// line 18
yield " <meta name=\"robots\" content=\"noindex,nofollow\">
";
}
// line 20
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 27
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "STARTPLATZ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 43
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_additionalHead(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "additionalHead"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "additionalHead"));
// line 44
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 66
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_navigation(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navigation"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navigation"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 70
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 74
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 92
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_infiniteLoop(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "infiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "infiniteLoop"));
// line 93
yield " ";
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))) {
// line 94
yield " <div id=\"pagination\">
<a href=\"";
// line 95
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", null, true);
yield "\">";
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", null, true);
yield "</a>
";
// line 97
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); })()))) {
// line 98
yield " <a href=\"";
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", null, true);
yield "\" class=\"next\">»</a>
";
}
// line 100
yield " </div>
";
} else {
// line 102
yield " ";
$context["maxPages"] = 100;
// line 103
yield " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 149
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascriptInfiniteLoop(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascriptInfiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascriptInfiniteLoop"));
// line 150
yield "<script type=\"text/javascript\">
var ias = \$.ias({
container: \"#posts\",
item: \".item\",
pagination: \"#pagination\",
negativeMargin: \"500\",
next: \".next\"
});
ias.extension(new IASSpinnerExtension()); // shows a spinner (a.k.a. loader)
ias.extension(new IASTriggerExtension({offset: ";
// line 160
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", null, true);
yield " })); // shows a trigger after page 3
ias.extension(new IASNoneLeftExtension({
text: 'There are no more pages left to load.' // override text when no pages left
}));
ias.on('load', function(event) {
event.url = event.url + \"&ajax=1&version=";
// line 166
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", null, true);
yield "\";
console.log('Loaded ' + event.url + ' url from server');
console.log('url tracking: ' + event.url );
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 176
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_ajax_helpers(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ajax_helpers"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ajax_helpers"));
// line 177
yield " <!-- Include Ajax Helpers By Default - Override if not needed -->
";
// line 178
yield from $this->load("@StartPlatzStyleBundle/Bootstrap4/_javascript.ajax-helpers.html.twig", 178)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 181
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("<!DOCTYPE html>
<html lang=\"en\">
<head>
<!-- homepage.with-sections -->
<!-- Required meta tags -->
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
{% block metaData %}
<meta name=\"description\" content=\"STARTPLATZ Homepage - Dein Platz zum Gründen und Wachsen\">
<meta name=\"author\" content=\"\">
{% if app.environment == 'prod' %}
<meta name=\"robots\" content=\"index,follow\">
{% if canonicalUrl is defined and canonicalUrl is not empty %}
<link rel=\"canonical\" href=\"{{ canonicalUrl }}\" />
{% endif %}
{% else %}
<meta name=\"robots\" content=\"noindex,nofollow\">
{% endif %}
{% endblock %}
<link rel=\"profile\" href=\"http://gmpg.org/xfn/11\">
<link rel=\"pingback\" href=\"https://www.startplatz.de/xmlrpc.php\">
{% include \"@StartPlatzStyleBundle/_icon.html.twig\" %}
<title>{% block title %}STARTPLATZ{% endblock %}</title>
<!-- Bootstrap CSS -->
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css\" integrity=\"sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N\" crossorigin=\"anonymous\">
<script src=\"https://kit.fontawesome.com/30335e3531.js\" crossorigin=\"anonymous\"></script>
<link href=\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap\" rel=\"stylesheet\">
{% include \"@StartPlatzStyleBundle/_tracking.html.twig\" %}
<style type=\"text/css\">
body {
padding-top: 50px;
font-family: 'Source Sans Pro', sans-serif;
}
</style>
{% block additionalHead %}
{% endblock %}
{# calls Google tag (gtag.js); defined in WebsiteBundle/Twig/Extension.php #}
{{ startplatz_ga()|raw }}
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5WTVWDT\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% set master = false %}
{% if app.user is defined and app.user is not empty %}
{% if app.user.getMaster %}{% set master = true %}{% endif %}
{% endif %}
{% set admin = false %}
{% if app.user is defined and app.user is not empty %}
{% if app.user.getAdmin %}{% set admin = true %}{% endif %}
{% endif %}
<!-- start navigation -->
{% block navigation %}{% endblock %}
<!-- end navigation -->
<!-- start content -->
{% block content %}{% endblock %}
<!-- end content -->
<!-- start footer -->
{% block footer %}{% endblock %}
<!-- end footer -->
<div class=\"modal fade\" id=\"mySmallModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-sm\">
</div>
</div>
<div class=\"modal fade\" id=\"myLargeModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-lg\">
</div>
</div>
<div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
</div>
</div>
{% block infiniteLoop %}
{% if maxPages is defined and maxPages > 1 %}
<div id=\"pagination\">
<a href=\"{{ path(currentPath, {page: thisPage} ) }}\">{{ thisPage }}</a>
{% if thisPage != maxPages %}
<a href=\"{{ path( currentPath, {page: thisPage+1 <= maxPages ? thisPage+1 : thisPage} + templateVars) }}\" class=\"next\">»</a>
{% endif %}
</div>
{% else %}
{% set maxPages = 100 %}
{% endif %}
{% endblock %}
{% if maxPages is not defined %}
{% set maxPages = 100 %}
{% endif %}
{% include \"@StartPlatzStyleBundle/_cookie.consent.html.twig\" %}
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- Vollständige jQuery-Version mit Ajax-Unterstützung -->
<script src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js\" integrity=\"sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=\" crossorigin=\"anonymous\"></script>
<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>
<!-- javascript for infinite scroll -->
<script src=\"{{ asset('bundles/startplatzstyle/js/jquery-ias.min.js') }}\"></script>
<script type=\"text/javascript\">
// Fill modal with content from link href
\$(\"#mySmallModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
// Fill modal with content from link href
\$(\"#myLargeModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
// Fill modal with content from link href
\$(\"#myModal\").on(\"show.bs.modal\", function(e) {
var link = \$(e.relatedTarget);
\$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
});
\$(function () {
\$('[data-toggle=\"tooltip\"]').tooltip()
});
</script>
{% if version is not defined %}
{% set version = 'default' %}
{% endif %}
{% block javascriptInfiniteLoop %}
<script type=\"text/javascript\">
var ias = \$.ias({
container: \"#posts\",
item: \".item\",
pagination: \"#pagination\",
negativeMargin: \"500\",
next: \".next\"
});
ias.extension(new IASSpinnerExtension()); // shows a spinner (a.k.a. loader)
ias.extension(new IASTriggerExtension({offset: {{ maxPages }} })); // shows a trigger after page 3
ias.extension(new IASNoneLeftExtension({
text: 'There are no more pages left to load.' // override text when no pages left
}));
ias.on('load', function(event) {
event.url = event.url + \"&ajax=1&version={{ version }}\";
console.log('Loaded ' + event.url + ' url from server');
console.log('url tracking: ' + event.url );
});
</script>
{% endblock %}
{% block ajax_helpers %}
<!-- Include Ajax Helpers By Default - Override if not needed -->
{% include '@StartPlatzStyleBundle/Bootstrap4/_javascript.ajax-helpers.html.twig' %}
{% endblock %}
{% block javascripts %}
{% endblock %}
</body>
</html>
", "@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig", "/var/www/html/src/StartPlatz/Bundle/StyleBundle/Resources/views/Bootstrap4/base.homepage.with-sections.html.twig");
}
}