var/cache/dev/twig/8a/8ad3967e906975de3350d1458afe63a84565af0e6111ac744cafe7d2b01e05a3.php line 100

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* blog/sidebar.html.twig */
  14. class __TwigTemplate_8fa4ad04f56b7cb24afd4c7e1d2f4644c747c8c4c79c160a5adfceeae554fb5b extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""blog/sidebar.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""blog/sidebar.html.twig"));
  33.         // line 1
  34.         echo "<div class=\"col-md-4 col-xl-3\">
  35.     <div class=\"sidebar px-4 py-md-0\">
  36.         ";
  37.         // line 5
  38.         if ((isset($context["form"]) || array_key_exists("form"$context))) {
  39.             // line 6
  40.             echo "
  41.             <h6 class=\"sidebar-title\">Buscar</h6>
  42.             ";
  43.             // line 9
  44.             echo             $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'9$this->source); })()), 'form_start', ["attr" => ["class" => "input-group"]]);
  45.             echo "
  46.                 ";
  47.             // line 11
  48.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'11$this->source); })()), "q", [], "any"falsefalsefalse11), 'widget');
  49.             echo "
  50.                 ";
  51.             // line 12
  52.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'12$this->source); })()), "q", [], "any"falsefalsefalse12), 'errors');
  53.             echo "
  54.                 <div class=\"input-group-addon\">
  55.                     <span class=\"input-group-text\"><i class=\"ti-search\"></i></span>
  56.                 </div>
  57.             ";
  58.             // line 18
  59.             echo             $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'18$this->source); })()), 'form_end');
  60.             echo "
  61.         ";
  62.         }
  63.         // line 21
  64.         echo "        
  65.         <div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
  66.         <h6 class=\"sidebar-title\">Categorías</h6>
  67.         <div class=\"row link-color-default fs-14 lh-24\">
  68.             ";
  69.         // line 28
  70.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Blog\\DefaultController::categoriesAction"));
  71.         echo "
  72.         </div>
  73.         <div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
  74.         <h6 class=\"sidebar-title\">Posts Recientes</h6>
  75.         ";
  76.         // line 36
  77.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Blog\\DefaultController::recentPostsAction"));
  78.         echo "
  79.         <div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
  80.         <h6 class=\"sidebar-title\">Histórico</h6>
  81.         <div class=\"gap-multiline-items-1\">
  82.             ";
  83.         // line 44
  84.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Blog\\DefaultController::monthsAction"));
  85.         echo "
  86.         </div>
  87.         <div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
  88.     </div>
  89. </div>";
  90.         
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  92.         
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  94.     }
  95.     public function getTemplateName()
  96.     {
  97.         return "blog/sidebar.html.twig";
  98.     }
  99.     public function isTraitable()
  100.     {
  101.         return false;
  102.     }
  103.     public function getDebugInfo()
  104.     {
  105.         return array (  111 => 44,  100 => 36,  89 => 28,  80 => 21,  74 => 18,  65 => 12,  61 => 11,  56 => 9,  51 => 6,  49 => 5,  43 => 1,);
  106.     }
  107.     public function getSourceContext()
  108.     {
  109.         return new Source("<div class=\"col-md-4 col-xl-3\">
  110.     <div class=\"sidebar px-4 py-md-0\">
  111.         {% if form is defined %}
  112.             <h6 class=\"sidebar-title\">Buscar</h6>
  113.             {{ form_start(form, {'attr': {'class': 'input-group'}}) }}
  114.                 {{ form_widget(form.q) }}
  115.                 {{ form_errors(form.q) }}
  116.                 <div class=\"input-group-addon\">
  117.                     <span class=\"input-group-text\"><i class=\"ti-search\"></i></span>
  118.                 </div>
  119.             {{ form_end(form) }}
  120.         {% endif %}
  121.         
  122.         <div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
  123.         <h6 class=\"sidebar-title\">Categorías</h6>
  124.         <div class=\"row link-color-default fs-14 lh-24\">
  125.             {{ render(controller('App\\\\Controller\\\\Blog\\\\DefaultController::categoriesAction')) }}
  126.         </div>
  127.         <div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
  128.         <h6 class=\"sidebar-title\">Posts Recientes</h6>
  129.         {{ render(controller('App\\\\Controller\\\\Blog\\\\DefaultController::recentPostsAction')) }}
  130.         <div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
  131.         <h6 class=\"sidebar-title\">Histórico</h6>
  132.         <div class=\"gap-multiline-items-1\">
  133.             {{ render(controller('App\\\\Controller\\\\Blog\\\\DefaultController::monthsAction')) }}
  134.         </div>
  135.         <div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
  136.     </div>
  137. </div>""blog/sidebar.html.twig""/export/home/nomaspapel/templates/blog/sidebar.html.twig");
  138.     }
  139. }