<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* guest.html.twig */
class __TwigTemplate_41ba34b09695ddc15dadbe72753d239c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'javascripts_top' => [$this, 'block_javascripts_top'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts_bottom' => [$this, 'block_javascripts_bottom'],
'after_body' => [$this, 'block_after_body'],
'before_body' => [$this, 'block_before_body'],
'body' => [$this, 'block_body'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "guest.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "guest.html.twig"));
// line 1
if ( ! $this->hasBlock("javascripts_top", $context, $blocks)) {
$this->displayBlock('javascripts_top', $context, $blocks);
}
// line 2
if ( ! $this->hasBlock("stylesheets", $context, $blocks)) {
$this->displayBlock('stylesheets', $context, $blocks);
}
// line 3
if ( ! $this->hasBlock("javascripts_bottom", $context, $blocks)) {
$this->displayBlock('javascripts_bottom', $context, $blocks);
}
// line 4
if ( ! $this->hasBlock("after_body", $context, $blocks)) {
$this->displayBlock('after_body', $context, $blocks);
}
// line 5
if ( ! $this->hasBlock("before_body", $context, $blocks)) {
$this->displayBlock('before_body', $context, $blocks);
}
// line 6
$this->loadTemplate("_page/_core/_header.html.twig", "guest.html.twig", 6)->display(twig_array_merge($context, ["javascripts_top" => $this->renderBlock("javascripts_top", $context, $blocks), "stylesheets" => $this->renderBlock("stylesheets", $context, $blocks), "stylesheetsUrl" => "_page/_guest/_styles.html.twig", "after_body" => $this->renderBlock("after_body", $context, $blocks), "before_body" => $this->renderBlock("before_body", $context, $blocks)]));
// line 14
$this->loadTemplate("_page/_guest/_nav.html.twig", "guest.html.twig", 14)->display($context);
// line 15
echo "
";
// line 16
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 16, $this->source); })()), "request", [], "any", false, false, false, 16), "get", [0 => "_route"], "method", false, false, false, 16) == "home")) {
// line 17
echo " ";
$this->loadTemplate("_page/_guest/_hero.html.twig", "guest.html.twig", 17)->display($context);
// line 18
echo " ";
}
// line 19
echo "
<main id=\"main\" class=\"main\">
";
// line 22
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 22, $this->source); })()), "request", [], "any", false, false, false, 22), "get", [0 => "_route"], "method", false, false, false, 22) != "home")) {
// line 23
echo " ";
$this->loadTemplate("_page/_guest/_breadcrumb.html.twig", "guest.html.twig", 23)->display($context);
// line 24
echo " ";
}
// line 25
echo "
";
// line 26
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "get", [0 => "_route"], "method", false, false, false, 26) != "home")) {
// line 27
echo " <section class=\"inner-page\">";
}
// line 28
echo " <div class=\"container\">
";
// line 29
$this->loadTemplate("_page/_core/_messages.html.twig", "guest.html.twig", 29)->display($context);
// line 30
echo " </div>
";
// line 31
$this->displayBlock('body', $context, $blocks);
// line 32
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 32, $this->source); })()), "request", [], "any", false, false, false, 32), "get", [0 => "_route"], "method", false, false, false, 32) != "home")) {
echo "</section>";
}
// line 33
echo "
</main>
";
// line 36
$this->loadTemplate("_page/_core/_footer.html.twig", "guest.html.twig", 36)->display(twig_array_merge($context, ["javascripts_bottom" => $this->renderBlock("javascripts_bottom", $context, $blocks), "footerUrl" => "_page/_guest/_footer.html.twig", "javascriptsUrl" => "_page/_guest/_scripts.html.twig"]));
// line 41
echo "
";
// line 42
$this->loadTemplate("_page/_content/_logoutModal.html.twig", "guest.html.twig", 42)->display($context);
// line 43
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 1
public function block_javascripts_top($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_top"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_top"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 2
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 3
public function block_javascripts_bottom($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_bottom"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_bottom"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 4
public function block_after_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "after_body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "after_body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_before_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "before_body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "before_body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 31
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "guest.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 233 => 31, 215 => 5, 197 => 4, 179 => 3, 161 => 2, 143 => 1, 132 => 43, 130 => 42, 127 => 41, 125 => 36, 120 => 33, 115 => 32, 113 => 31, 110 => 30, 108 => 29, 105 => 28, 102 => 27, 100 => 26, 97 => 25, 94 => 24, 91 => 23, 89 => 22, 84 => 19, 81 => 18, 78 => 17, 76 => 16, 73 => 15, 71 => 14, 69 => 6, 65 => 5, 61 => 4, 57 => 3, 53 => 2, 49 => 1,);
}
public function getSourceContext()
{
return new Source("{% if block('javascripts_top') is not defined %}{% block javascripts_top %}{% endblock %}{% endif %}
{% if block('stylesheets') is not defined %}{% block stylesheets %}{% endblock %}{% endif %}
{% if block('javascripts_bottom') is not defined %}{% block javascripts_bottom %}{% endblock %}{% endif %}
{% if block('after_body') is not defined %}{% block after_body %}{% endblock %}{% endif %}
{% if block('before_body') is not defined %}{% block before_body %}{% endblock %}{% endif %}
{% include '_page/_core/_header.html.twig' with {
javascripts_top: block('javascripts_top'),
stylesheets: block('stylesheets'),
stylesheetsUrl: '_page/_guest/_styles.html.twig',
after_body: block('after_body'),
before_body: block('before_body'),
} %}
{# {% include '_page/_guest/_top.html.twig' %} #}
{% include '_page/_guest/_nav.html.twig' %}
{% if app.request.get('_route') == 'home' %}
{% include '_page/_guest/_hero.html.twig' %}
{% endif %}
<main id=\"main\" class=\"main\">
{% if app.request.get('_route') != 'home' %}
{% include '_page/_guest/_breadcrumb.html.twig' %}
{% endif %}
{% if app.request.get('_route') != 'home' %}
<section class=\"inner-page\">{% endif %}
<div class=\"container\">
{% include \"_page/_core/_messages.html.twig\" %}
</div>
{% block body %}{% endblock %}
{% if app.request.get('_route') != 'home' %}</section>{% endif %}
</main>
{% include '_page/_core/_footer.html.twig' with {
javascripts_bottom: block('javascripts_bottom'),
footerUrl: '_page/_guest/_footer.html.twig',
javascriptsUrl: '_page/_guest/_scripts.html.twig',
} %}
{% include \"_page/_content/_logoutModal.html.twig\" %}
", "guest.html.twig", "/home/tezea/domains/tezea.pl/public_html/templates/guest.html.twig");
}
}