<?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;
/* layout/head/meta.html.twig */
class __TwigTemplate_f7c13c0b604e7839fc3b86d1406af82c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "layout/head/meta.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/head/meta.html.twig"));
// line 2
$context["pagename"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("pageName", null, 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2));
// line 3
echo "
";
// line 5
$context["ogImage"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("ogImage", null, 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.', 5, $this->source); })()), "request", [], "any", false, false, false, 5), "locale", [], "any", false, false, false, 5));
// line 6
echo "
";
// line 8
echo "<meta name=\"author\" content=\"";
echo twig_escape_filter($this->env, (isset($context["pagename"]) || array_key_exists("pagename", $context) ? $context["pagename"] : (function () { throw new RuntimeError('Variable "pagename" does not exist.', 8, $this->source); })()), "html", null, true);
echo "\">
";
// line 11
if ((array_key_exists("blogDetail", $context) && (isset($context["blogDetail"]) || array_key_exists("blogDetail", $context) ? $context["blogDetail"] : (function () { throw new RuntimeError('Variable "blogDetail" does not exist.', 11, $this->source); })()))) {
// line 12
echo " ";
echo twig_include($this->env, $context, "layout/head/meta/blog-detail.html.twig");
echo "
";
} else {
// line 16
echo " ";
echo twig_include($this->env, $context, "layout/head/meta/document.html.twig");
echo "
";
}
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "layout/head/meta.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 68 => 16, 61 => 12, 59 => 11, 53 => 8, 50 => 6, 48 => 5, 45 => 3, 43 => 2,);
}
public function getSourceContext()
{
return new Source("{# pagename #}
{% set pagename = pimcore_website_config('pageName', null, app.request.locale) %}
{# og fallback image #}
{% set ogImage = pimcore_website_config('ogImage', null, app.request.locale) %}
{# author #}
<meta name=\"author\" content=\"{{ pagename }}\">
{# blog detail #}
{% if blogDetail is defined and blogDetail %}
{{ include('layout/head/meta/blog-detail.html.twig') }}
{# document #}
{% else %}
{{ include('layout/head/meta/document.html.twig') }}
{% endif %}", "layout/head/meta.html.twig", "/home/httpd/vhosts/a4interactive.ch/httpdocs/lutisbach.a4interactive.ch/templates/layout/head/meta.html.twig");
}
}