<?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;
/* content/footer.html.twig */
class __TwigTemplate_af7cabd41d010d4e4480de7630b8b9fa extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'head_stylesheets' => [$this, 'block_head_stylesheets'],
'scripts' => [$this, 'block_scripts'],
];
$this->deferred = $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
}
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", "content/footer.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/footer.html.twig"));
// line 1
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 1, $this->source); })())) {
// line 2
echo "
";
// line 3
ob_start();
// line 4
echo "
";
// line 6
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/dist/main.css")], "method", false, false, false, 6);
// line 7
echo "
";
// line 9
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/dist/main.js")], "method", false, false, false, 9);
// line 10
echo "
";
$___internal_parse_1_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 3
echo twig_spaceless($___internal_parse_1_);
// line 12
echo "
<!DOCTYPE html>
<html class=\"no-js\" lang=\"";
// line 14
echo twig_escape_filter($this->env, 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.', 14, $this->source); })()), "request", [], "any", false, false, false, 14), "locale", [], "any", false, false, false, 14), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">
";
// line 22
echo " ";
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 25
echo "
</head>
<body>
";
// line 29
echo twig_include($this->env, $context, "layout/components/footer.html.twig");
echo "
";
// line 32
echo " ";
$this->displayBlock('scripts', $context, $blocks);
// line 35
echo "
</body>
</html>
";
} else {
// line 40
echo "
";
// line 41
echo twig_include($this->env, $context, "layout/components/footer.html.twig");
echo "
";
}
$this->deferred->resolve($this, $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function block_head_stylesheets($context, array $blocks = [])
{
$this->deferred->defer($this, 'head_stylesheets');
}
// line 22
public function block_head_stylesheets_deferred($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", "head_stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
// line 23
echo " ";
echo $this->env->getFunction('pimcore_head_link')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_scripts($context, array $blocks = [])
{
$this->deferred->defer($this, 'scripts');
}
// line 32
public function block_scripts_deferred($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", "scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
// line 33
echo " ";
echo $this->env->getFunction('pimcore_head_script')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function getTemplateName()
{
return "content/footer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 171 => 33, 161 => 32, 142 => 23, 132 => 22, 112 => 41, 109 => 40, 102 => 35, 99 => 32, 94 => 29, 88 => 25, 85 => 22, 75 => 14, 71 => 12, 69 => 3, 65 => 10, 62 => 9, 59 => 7, 56 => 6, 53 => 4, 51 => 3, 48 => 2, 46 => 1,);
}
public function getSourceContext()
{
return new Source("{% if editmode %}
{% apply spaceless %}
{# css #}
{% do pimcore_head_link().appendStylesheet(asset('/assets/dist/main.css')) %}
{# js #}
{% do pimcore_head_script().appendFile(asset('/assets/dist/main.js')) %}
{% endapply %}
<!DOCTYPE html>
<html class=\"no-js\" lang=\"{{ app.request.locale }}\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">
{# css #}
{% block head_stylesheets deferred %}
{{ pimcore_head_link() }}
{% endblock %}
</head>
<body>
{{ include('layout/components/footer.html.twig') }}
{# js #}
{% block scripts deferred %}
{{ pimcore_head_script() }}
{% endblock %}
</body>
</html>
{% else %}
{{ include('layout/components/footer.html.twig') }}
{% endif %}", "content/footer.html.twig", "/home/httpd/vhosts/a4interactive.ch/httpdocs/lutisbach.a4interactive.ch/templates/content/footer.html.twig");
}
}