<?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;
/* frontend/base.html.twig */
class __TwigTemplate_e29e31ce89ac8f61c1c429d4fc996f01eea06a10a845f5e26317d5d724194753 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html ";
// line 2
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getHtmlAttributes();
echo ">
\t<head ";
// line 3
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getHeadAttributes();
echo ">
\t\t<meta charset=\"UTF-8\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
\t\t<link rel=\"shortcut icon\" href=\"";
// line 6
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->env->getFunction('parameter')->getCallable()("app_icon")), "html", null, true);
echo "\" type=\"image/x-icon\" sizes=\"32x32\">
\t\t";
// line 7
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getMetadatas();
echo "
\t\t";
// line 8
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getLinkCanonical();
echo "
\t\t";
// line 9
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getLangAlternates();
echo "
\t\t";
// line 10
$this->displayBlock('title', $context, $blocks);
// line 12
echo "
\t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
\t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
\t\t<link href=\"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap\" rel=\"stylesheet\">
\t\t";
// line 16
echo twig_include($this->env, $context, "frontend/stylesheet.html.twig");
echo "
\t\t";
// line 18
$this->displayBlock('stylesheets', $context, $blocks);
// line 19
echo "\t</head>
\t<body>
\t\t";
// line 21
echo twig_include($this->env, $context, "frontend/_header.html.twig");
echo "
\t\t";
// line 23
$this->displayBlock('body', $context, $blocks);
// line 24
echo "
\t\t<div id=\"mybutton\">
\t\t\t<a href=\"";
// line 26
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("tfeedback_form");
echo "\" class=\"feedback fw-500\" data-toggle=\"modal\" data-target=\"#feedback\">
\t\t\t\t<i class=\"fa fa-comments-o\"></i>
\t\t\t\tFeedback
\t\t\t</a>
\t\t</div>
\t\t";
// line 32
$this->loadTemplate("frontend/t_feedback/modal.html.twig", "frontend/base.html.twig", 32)->display($context);
// line 33
echo "
";
// line 34
$context["current_route"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 34, $this->source); })()), "request", [], "any", false, false, false, 34), "attributes", [], "any", false, false, false, 34), "get", ["_route"], "method", false, false, false, 34);
// line 35
echo " ";
if ((0 !== twig_compare((isset($context["current_route"]) || array_key_exists("current_route", $context) ? $context["current_route"] : (function () { throw new RuntimeError('Variable "current_route" does not exist.', 35, $this->source); })()), "homepage"))) {
// line 36
echo "\t\t ";
echo twig_include($this->env, $context, "frontend/_footer.html.twig");
echo "
";
}
// line 38
echo "
\t</body>
\t";
// line 40
echo twig_include($this->env, $context, "frontend/javascript.html.twig");
echo "
\t";
// line 42
$this->displayBlock('javascripts', $context, $blocks);
// line 43
echo "</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 10
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 11
echo "\t\t\t";
echo $this->extensions['Sonata\SeoBundle\Twig\Extension\SeoExtension']->getTitle();
echo "
\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 23
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
echo twig_escape_filter($this->env, (isset($context["endblock"]) || array_key_exists("endblock", $context) ? $context["endblock"] : (function () { throw new RuntimeError('Variable "endblock" does not exist.', 23, $this->source); })()), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 42
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "frontend/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 213 => 42, 194 => 23, 176 => 18, 163 => 11, 153 => 10, 142 => 43, 140 => 42, 135 => 40, 131 => 38, 125 => 36, 122 => 35, 120 => 34, 117 => 33, 115 => 32, 106 => 26, 102 => 24, 100 => 23, 95 => 21, 91 => 19, 89 => 18, 84 => 16, 78 => 12, 76 => 10, 72 => 9, 68 => 8, 64 => 7, 60 => 6, 54 => 3, 50 => 2, 47 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html {{ sonata_seo_html_attributes() }}>
\t<head {{ sonata_seo_head_attributes() }}>
\t\t<meta charset=\"UTF-8\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
\t\t<link rel=\"shortcut icon\" href=\"{{asset(parameter('app_icon')) }}\" type=\"image/x-icon\" sizes=\"32x32\">
\t\t{{ sonata_seo_metadatas() }}
\t\t{{ sonata_seo_link_canonical() }}
\t\t{{ sonata_seo_lang_alternates() }}
\t\t{% block title %}
\t\t\t{{ sonata_seo_title() }}
\t\t{% endblock %}
\t\t<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
\t\t<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
\t\t<link href=\"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap\" rel=\"stylesheet\">
\t\t{{ include('frontend/stylesheet.html.twig') }}
\t\t{% block stylesheets %}{% endblock %}
\t</head>
\t<body>
\t\t{{ include('frontend/_header.html.twig') }}
\t\t{% block body endblock %}
\t\t<div id=\"mybutton\">
\t\t\t<a href=\"{{ path('tfeedback_form') }}\" class=\"feedback fw-500\" data-toggle=\"modal\" data-target=\"#feedback\">
\t\t\t\t<i class=\"fa fa-comments-o\"></i>
\t\t\t\tFeedback
\t\t\t</a>
\t\t</div>
\t\t{% include(\"frontend/t_feedback/modal.html.twig\") %}
{% set current_route = app.request.attributes.get('_route') %}
{% if current_route != 'homepage' %}
\t\t {{ include('frontend/_footer.html.twig') }}
{% endif %}
\t</body>
\t{{ include('frontend/javascript.html.twig') }}
\t{% block javascripts %}{% endblock %}
</html>
", "frontend/base.html.twig", "/var/www/html/open_data/templates/frontend/base.html.twig");
}
}