<?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;
/* main-template.html.twig */
class __TwigTemplate_19869c599c6e3fc72cf8e45ec9cbd46aa96b8a16899417917942a11850464419 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
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", "main-template.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "main-template.html.twig"));
// line 1
$context["env"] = 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.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "server", [], "any", false, false, false, 1), "get", [0 => "APP_ENV"], "method", false, false, false, 1);
// line 2
echo "
";
// line 3
$context["lang"] = 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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3);
// line 4
echo "
";
// line 5
if (Pimcore\Model\Site::isSiteRequest()) {
// line 6
echo " ";
$context["site"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, Pimcore\Model\Site::getCurrentSite(), "getRootDocument", [], "method", false, false, false, 6), "getRealFullpath", [], "method", false, false, false, 6);
} else {
// line 8
echo " ";
$context["site"] = twig_get_attribute($this->env, $this->source, Pimcore\Model\Document::getById(1), "getRealFullpath", [], "method", false, false, false, 8);
}
// line 10
echo "
";
// line 13
$context["siteconfig"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 13, $this->source); })()), "getProperty", [0 => "siteconfig"], "method", false, false, false, 13);
// line 14
echo "
";
// line 15
$context["staticPath"] = (((isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 15, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 15, $this->source); })()), "mainTemplatePath", [], "any", false, false, false, 15)) : ("/var/static/template/friends/"));
// line 16
$context["bodyClass"] = (((isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 16, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 16, $this->source); })()), "bodyClass", [], "any", false, false, false, 16)) : ("modern"));
// line 17
$context["navType"] = (((isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 17, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 17, $this->source); })()), "navType", [], "any", false, false, false, 17)) : ("default"));
// line 18
$context["footerType"] = (((isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 18, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 18, $this->source); })()), "footerType", [], "any", false, false, false, 18)) : ("default"));
// line 19
echo "
<!DOCTYPE html>
<html lang=\"";
// line 21
echo twig_escape_filter($this->env, (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 21, $this->source); })()), "html", null, true);
echo "\">
<head>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/>
<meta name=\"author\" content=\"";
// line 26
echo twig_escape_filter($this->env, (isset($context["staticPath"]) || array_key_exists("staticPath", $context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.', 26, $this->source); })()), "html", null, true);
echo "\"/>
";
// line 28
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => ((isset($context["staticPath"]) || array_key_exists("staticPath", $context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.', 28, $this->source); })()) . "css/plugins.css")], "method", false, false, false, 28);
// line 29
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => ((isset($context["staticPath"]) || array_key_exists("staticPath", $context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.', 29, $this->source); })()) . "css/style.css")], "method", false, false, false, 29);
// line 30
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => ((isset($context["staticPath"]) || array_key_exists("staticPath", $context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.', 30, $this->source); })()) . "css/custom.css")], "method", false, false, false, 30);
// line 31
echo "
";
// line 32
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 32, $this->source); })())) {
// line 33
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => ((isset($context["staticPath"]) || array_key_exists("staticPath", $context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.', 33, $this->source); })()) . "css/admin.css")], "method", false, false, false, 33);
// line 34
echo " ";
}
// line 35
echo "
";
// line 36
if (((isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 36, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 36, $this->source); })()), "templateFiles", [], "any", false, false, false, 36))) {
// line 37
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 37, $this->source); })()), "templateFiles", [], "any", false, false, false, 37));
foreach ($context['_seq'] as $context["_key"] => $context["templateFile"]) {
// line 38
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["templateFile"], "mimeType", [], "any", false, false, false, 38) == "text/css")) {
// line 39
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [0 => $context["templateFile"]], "method", false, false, false, 39);
// line 40
echo " ";
}
// line 41
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['templateFile'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
echo " ";
}
// line 43
echo "
";
// line 44
if ( !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 44, $this->source); })())) {
// line 45
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 46
echo " ";
}
// line 47
echo "
";
// line 48
if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 48, $this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
// line 49
echo " ";
$context["document"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 49, $this->source); })()), "getObject", [], "method", false, false, false, 49);
// line 50
echo " ";
}
// line 51
echo "
";
// line 52
if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 52, $this->source); })()), "\\Pimcore\\Model\\Document\\Page")) {
// line 53
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 53, $this->source); })()), "getTitle", [], "any", false, false, false, 53))) {
// line 54
echo " ";
$this->env->getFunction('pimcore_head_title')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 54, $this->source); })()), "getTitle", [], "any", false, false, false, 54));
// line 55
echo " ";
}
// line 56
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 56, $this->source); })()), "getDescription", [], "any", false, false, false, 56))) {
// line 57
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "appendName", [0 => "description", 1 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 57, $this->source); })()), "getDescription", [], "any", false, false, false, 57)], "method", false, false, false, 57);
// line 58
echo " ";
}
// line 59
echo " ";
}
// line 60
echo "
";
// line 61
if (array_key_exists("headTitleMain", $context)) {
// line 62
echo " ";
$this->env->getFunction('pimcore_head_title')->getCallable()((isset($context["headTitleMain"]) || array_key_exists("headTitleMain", $context) ? $context["headTitleMain"] : (function () { throw new RuntimeError('Variable "headTitleMain" does not exist.', 62, $this->source); })()));
// line 63
echo " ";
}
// line 64
echo "
";
// line 65
if (array_key_exists("headMetaDescription", $context)) {
// line 66
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "appendName", [0 => "description", 1 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 66, $this->source); })()), "getDescription", [], "any", false, false, false, 66)], "method", false, false, false, 66);
// line 67
echo " ";
}
// line 68
echo "
";
// line 69
if ((array_key_exists("og", $context) && twig_test_iterable((isset($context["og"]) || array_key_exists("og", $context) ? $context["og"] : (function () { throw new RuntimeError('Variable "og" does not exist.', 69, $this->source); })())))) {
// line 70
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["og"]) || array_key_exists("og", $context) ? $context["og"] : (function () { throw new RuntimeError('Variable "og" does not exist.', 70, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ogItem"]) {
// line 71
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["ogItem"], "type", [], "any", false, false, false, 71) && twig_get_attribute($this->env, $this->source, $context["ogItem"], "content", [], "any", false, false, false, 71))) {
// line 72
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", [0 => ("og:" . twig_get_attribute($this->env, $this->source, $context["ogItem"], "type", [], "any", false, false, false, 72)), 1 => twig_get_attribute($this->env, $this->source, $context["ogItem"], "content", [], "any", false, false, false, 72)], "method", false, false, false, 72);
// line 73
echo " ";
}
// line 74
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ogItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 75
echo " ";
}
// line 76
echo "
";
// line 77
echo $this->env->getFunction('pimcore_head_title')->getCallable()();
echo "
";
// line 78
echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
echo "
";
// line 79
echo $this->env->getFunction('pimcore_head_link')->getCallable()();
echo "
</head>
<body data-env=\"";
// line 82
echo twig_escape_filter($this->env, (isset($context["env"]) || array_key_exists("env", $context) ? $context["env"] : (function () { throw new RuntimeError('Variable "env" does not exist.', 82, $this->source); })()), "html", null, true);
echo "\" class=\"";
echo twig_escape_filter($this->env, (isset($context["bodyClass"]) || array_key_exists("bodyClass", $context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.', 82, $this->source); })()), "html", null, true);
echo "\">
<div class=\"body-inner\">
";
// line 84
echo $this->env->getFunction('pimcore_inc')->getCallable()((((((isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 84, $this->source); })()) . "/") . (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 84, $this->source); })())) . "/shared/template/nav/") . (isset($context["navType"]) || array_key_exists("navType", $context) ? $context["navType"] : (function () { throw new RuntimeError('Variable "navType" does not exist.', 84, $this->source); })())), ["siteconfig" => (( // line 85
(isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 85, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 85, $this->source); })()), "id", [], "any", false, false, false, 85)) : (null)), "documentNav" => twig_get_attribute($this->env, $this->source, // line 86
(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 86, $this->source); })()), "id", [], "any", false, false, false, 86)]);
// line 87
echo "
";
// line 89
$this->displayBlock('content', $context, $blocks);
// line 90
echo "
";
// line 91
echo $this->env->getFunction('pimcore_inc')->getCallable()((((((isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 91, $this->source); })()) . "/") . (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 91, $this->source); })())) . "/shared/template/footer/") . (isset($context["footerType"]) || array_key_exists("footerType", $context) ? $context["footerType"] : (function () { throw new RuntimeError('Variable "footerType" does not exist.', 91, $this->source); })())), ["siteconfig" => (( // line 92
(isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 92, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 92, $this->source); })()), "id", [], "any", false, false, false, 92)) : (null)), "documentFooter" => twig_get_attribute($this->env, $this->source, // line 93
(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 93, $this->source); })()), "id", [], "any", false, false, false, 93)]);
// line 94
echo "
</div>
</body>
";
// line 98
if (((isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 98, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 98, $this->source); })()), "templateFiles", [], "any", false, false, false, 98))) {
// line 99
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["siteconfig"]) || array_key_exists("siteconfig", $context) ? $context["siteconfig"] : (function () { throw new RuntimeError('Variable "siteconfig" does not exist.', 99, $this->source); })()), "templateFiles", [], "any", false, false, false, 99));
foreach ($context['_seq'] as $context["_key"] => $context["templateFile"]) {
// line 100
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["templateFile"], "mimetype", [], "any", false, false, false, 100) == "application/x-javascript")) {
// line 101
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [0 => $context["templateFile"]], "method", false, false, false, 101);
// line 102
echo " ";
}
// line 103
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['templateFile'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 104
echo " ";
}
// line 105
echo "
";
// line 106
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [0 => ((isset($context["staticPath"]) || array_key_exists("staticPath", $context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.', 106, $this->source); })()) . "js/app.js")], "method", false, false, false, 106);
// line 107
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [0 => "bundles/formbuilder/js/frontend/vendor/dependsOn/dependsOn.min.js"], "method", false, false, false, 107);
// line 108
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [0 => "bundles/formbuilder/js/frontend/plugins/jquery.fb.ext.conditional-logic.js"], "method", false, false, false, 108);
// line 109
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [0 => "bundles/formbuilder/js/frontend/plugins/jquery.fb.ext.repeater.js"], "method", false, false, false, 109);
// line 110
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [0 => "bundles/formbuilder/js/frontend/plugins/jquery.fb.core.form-builder.js"], "method", false, false, false, 110);
// line 111
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [0 => ((isset($context["staticPath"]) || array_key_exists("staticPath", $context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.', 111, $this->source); })()) . "js/functions.js")], "method", false, false, false, 111);
// line 112
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [0 => ((isset($context["staticPath"]) || array_key_exists("staticPath", $context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.', 112, $this->source); })()) . "js/plugins.js")], "method", false, false, false, 112);
// line 113
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "prependFile", [0 => ((isset($context["staticPath"]) || array_key_exists("staticPath", $context) ? $context["staticPath"] : (function () { throw new RuntimeError('Variable "staticPath" does not exist.', 113, $this->source); })()) . "js/jquery.js")], "method", false, false, false, 113);
// line 114
echo "
";
// line 115
echo $this->env->getFunction('pimcore_head_script')->getCallable()();
echo "
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 89
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "main-template.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 359 => 89, 345 => 115, 342 => 114, 339 => 113, 336 => 112, 333 => 111, 330 => 110, 327 => 109, 324 => 108, 321 => 107, 319 => 106, 316 => 105, 313 => 104, 307 => 103, 304 => 102, 301 => 101, 298 => 100, 293 => 99, 291 => 98, 285 => 94, 283 => 93, 282 => 92, 281 => 91, 278 => 90, 276 => 89, 272 => 87, 270 => 86, 269 => 85, 268 => 84, 261 => 82, 255 => 79, 251 => 78, 247 => 77, 244 => 76, 241 => 75, 235 => 74, 232 => 73, 229 => 72, 226 => 71, 221 => 70, 219 => 69, 216 => 68, 213 => 67, 210 => 66, 208 => 65, 205 => 64, 202 => 63, 199 => 62, 197 => 61, 194 => 60, 191 => 59, 188 => 58, 185 => 57, 182 => 56, 179 => 55, 176 => 54, 173 => 53, 171 => 52, 168 => 51, 165 => 50, 162 => 49, 160 => 48, 157 => 47, 154 => 46, 151 => 45, 149 => 44, 146 => 43, 143 => 42, 137 => 41, 134 => 40, 131 => 39, 128 => 38, 123 => 37, 121 => 36, 118 => 35, 115 => 34, 112 => 33, 110 => 32, 107 => 31, 104 => 30, 101 => 29, 99 => 28, 94 => 26, 86 => 21, 82 => 19, 80 => 18, 78 => 17, 76 => 16, 74 => 15, 71 => 14, 69 => 13, 64 => 10, 60 => 8, 56 => 6, 54 => 5, 51 => 4, 49 => 3, 46 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% set env = app.request.server.get('APP_ENV') %}
{% set lang = app.request.locale %}
{% if pimcore_site_is_request() %}
{% set site = pimcore_site_current().getRootDocument().getRealFullpath() %}
{% else %}
{% set site = pimcore_document(1).getRealFullpath() %}
{% endif %}
{% set siteconfig = document.getProperty('siteconfig') %}
{% set staticPath = siteconfig ? siteconfig.mainTemplatePath : '/var/static/template/friends/' %}
{% set bodyClass = siteconfig ? siteconfig.bodyClass : 'modern' %}
{% set navType = siteconfig ? siteconfig.navType : 'default' %}
{% set footerType = siteconfig ? siteconfig.footerType : 'default' %}
<!DOCTYPE html>
<html lang=\"{{ lang }}\">
<head>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/>
<meta name=\"author\" content=\"{{ staticPath }}\"/>
{% do pimcore_head_link().appendStylesheet(staticPath ~ 'css/plugins.css') %}
{% do pimcore_head_link().appendStylesheet(staticPath ~ 'css/style.css') %}
{% do pimcore_head_link().appendStylesheet(staticPath ~ 'css/custom.css') %}
{% if editmode %}
{% do pimcore_head_link().appendStylesheet(staticPath ~ 'css/admin.css') %}
{% endif %}
{% if siteconfig and siteconfig.templateFiles %}
{% for templateFile in siteconfig.templateFiles %}
{% if templateFile.mimeType == 'text/css' %}
{% do pimcore_head_link().appendStylesheet(templateFile) %}
{% endif %}
{% endfor %}
{% endif %}
{% if not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
{% set document = document.getObject() %}
{% endif %}
{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
{% if document.getTitle is not empty %}
{% do pimcore_head_title(document.getTitle) %}
{% endif %}
{% if document.getDescription is not empty %}
{% do pimcore_head_meta().appendName('description', document.getDescription) %}
{% endif %}
{% endif %}
{% if headTitleMain is defined %}
{% do pimcore_head_title(headTitleMain) %}
{% endif %}
{% if headMetaDescription is defined %}
{% do pimcore_head_meta().appendName('description', document.getDescription) %}
{% endif %}
{% if og is defined and og is iterable %}
{% for ogItem in og %}
{% if ogItem.type and ogItem.content %}
{% do pimcore_head_meta().setProperty('og:'~ogItem.type, ogItem.content) %}
{% endif %}
{% endfor %}
{% endif %}
{{ pimcore_head_title() }}
{{ pimcore_head_meta() }}
{{ pimcore_head_link() }}
</head>
<body data-env=\"{{ env }}\" class=\"{{ bodyClass }}\">
<div class=\"body-inner\">
{{ pimcore_inc(site~'/'~lang~'/shared/template/nav/' ~ navType, {
'siteconfig' : (siteconfig ? siteconfig.id:null),
'documentNav' : document.id
}) }}
{% block content %}{% endblock %}
{{ pimcore_inc(site~'/'~lang~'/shared/template/footer/' ~ footerType, {
'siteconfig' : (siteconfig ? siteconfig.id:null),
'documentFooter' : document.id,
}) }}
</div>
</body>
{% if siteconfig and siteconfig.templateFiles %}
{% for templateFile in siteconfig.templateFiles %}
{% if templateFile.mimetype == 'application/x-javascript' %}
{% do pimcore_head_script().prependFile(templateFile) %}
{% endif %}
{% endfor %}
{% endif %}
{% do pimcore_head_script().prependFile(staticPath ~ 'js/app.js') %}
{% do pimcore_head_script().prependFile('bundles/formbuilder/js/frontend/vendor/dependsOn/dependsOn.min.js') %}
{% do pimcore_head_script().prependFile('bundles/formbuilder/js/frontend/plugins/jquery.fb.ext.conditional-logic.js') %}
{% do pimcore_head_script().prependFile('bundles/formbuilder/js/frontend/plugins/jquery.fb.ext.repeater.js') %}
{% do pimcore_head_script().prependFile('bundles/formbuilder/js/frontend/plugins/jquery.fb.core.form-builder.js') %}
{% do pimcore_head_script().prependFile(staticPath ~ 'js/functions.js') %}
{% do pimcore_head_script().prependFile(staticPath ~ 'js/plugins.js') %}
{% do pimcore_head_script().prependFile(staticPath ~ 'js/jquery.js') %}
{{ pimcore_head_script() }}
</html>
", "main-template.html.twig", "/usr/www/users/friend/friendscore.web.a22.localhost/templates/main-template.html.twig");
}
}