<?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;
/* includes/sidebar.html.twig */
class __TwigTemplate_61311b21132d716737ac7e79ca2a3508 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
// line 1
$_trait_0 = $this->loadTemplate("includes/editmode-layout.html.twig", "includes/sidebar.html.twig", 1);
if (!$_trait_0->isTraitable()) {
throw new RuntimeError('Template "'."includes/editmode-layout.html.twig".'" cannot be used as a trait.', 1, $this->source);
}
$_trait_0_blocks = $_trait_0->getBlocks();
$this->traits = $_trait_0_blocks;
$this->blocks = array_merge(
$this->traits,
[
]
);
}
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", "includes/sidebar.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "includes/sidebar.html.twig"));
// line 2
echo "
";
// line 3
$this->displayBlock("editmode_header", $context, $blocks);
echo "
<div class=\"teasers\">
";
// line 6
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "teasers")));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 7
echo " ";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "snippet", "teaser");
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 9
echo "</div>
";
// line 11
$this->displayBlock("editmode_footer", $context, $blocks);
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "includes/sidebar.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 81 => 11, 77 => 9, 68 => 7, 64 => 6, 58 => 3, 55 => 2, 30 => 1,);
}
public function getSourceContext()
{
return new Source("{% use 'includes/editmode-layout.html.twig' %}
{{ block('editmode_header') }}
<div class=\"teasers\">
{% for i in pimcore_iterate_block(pimcore_block('teasers')) %}
{{ pimcore_snippet('teaser') }}
{% endfor %}
</div>
{{ block('editmode_footer') }}
", "includes/sidebar.html.twig", "/www/htdocs/w0189996/pimcore-demo/templates/includes/sidebar.html.twig");
}
}