var/cache/website/dev/twig/c4/c46351d9484194ce43b624daff54c50f.php line 38

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. /* pages/singleNews.html.twig */
  14. class __TwigTemplate_c5e873c73386cdde3e8688036ba1ae8c extends 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->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "single-news-base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/singleNews.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/singleNews.html.twig"));
  38.         // line 5
  39.         $macros["macrosTypography"] = $this->macros["macrosTypography"] = $this->loadTemplate("./macros_typography.html.twig""pages/singleNews.html.twig"5)->unwrap();
  40.         // line 6
  41.         $macros["macrosButton"] = $this->macros["macrosButton"] = $this->loadTemplate("./macros_button.html.twig""pages/singleNews.html.twig"6)->unwrap();
  42.         // line 8
  43.         $context["headerColor"] = "header-white";
  44.         // line 9
  45.         $context["bodyClass"] = "bg-white";
  46.         // line 1
  47.         $this->parent $this->loadTemplate("single-news-base.html.twig""pages/singleNews.html.twig"1);
  48.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  49.         
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51.         
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53.     }
  54.     // line 13
  55.     public function block_content($context, array $blocks = [])
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  62.         // line 14
  63.         echo "
  64.       <section class=\"news-single-section pt-48 xl:pt-64 md:pb-24\"
  65.     section-shade=\"light\">
  66.           <div class=\"custom-text-wrapp mx-auto max-w-[984px] px-8 pb-16 lg:pb-44\">
  67.                 ";
  68.         // line 20
  69.         $context['_parent'] = $context;
  70.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["content"] ?? null), "blocks", [], "any"falsefalsefalse20));
  71.         $context['loop'] = [
  72.           'parent' => $context['_parent'],
  73.           'index0' => 0,
  74.           'index'  => 1,
  75.           'first'  => true,
  76.         ];
  77.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  78.             $length count($context['_seq']);
  79.             $context['loop']['revindex0'] = $length 1;
  80.             $context['loop']['revindex'] = $length;
  81.             $context['loop']['length'] = $length;
  82.             $context['loop']['last'] = === $length;
  83.         }
  84.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  85.             // line 21
  86.             echo "                  ";
  87.             echo twig_include($this->env$context, (("includes/blocks/" twig_get_attribute($this->env$this->source$context["item"], "type", [], "any"falsefalsefalse21)) . ".html.twig"), ["content" => $context["item"], "template" => ($context["template"] ?? null), "globalContent" => ($context["content"] ?? null)]);
  88.             echo "
  89.                 ";
  90.             ++$context['loop']['index0'];
  91.             ++$context['loop']['index'];
  92.             $context['loop']['first'] = false;
  93.             if (isset($context['loop']['length'])) {
  94.                 --$context['loop']['revindex0'];
  95.                 --$context['loop']['revindex'];
  96.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  97.             }
  98.         }
  99.         $_parent $context['_parent'];
  100.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  101.         $context array_intersect_key($context$_parent) + $_parent;
  102.         // line 22
  103.         echo 
  104.           </div>
  105.       </section>
  106.  
  107.     ";
  108.         
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  110.         
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  112.     }
  113.     public function getTemplateName()
  114.     {
  115.         return "pages/singleNews.html.twig";
  116.     }
  117.     public function isTraitable()
  118.     {
  119.         return false;
  120.     }
  121.     public function getDebugInfo()
  122.     {
  123.         return array (  119 => 22,  102 => 21,  85 => 20,  77 => 14,  67 => 13,  56 => 1,  54 => 9,  52 => 8,  50 => 6,  48 => 5,  35 => 1,);
  124.     }
  125.     public function getSourceContext()
  126.     {
  127.         return new Source("{% extends \"single-news-base.html.twig\" %}
  128. {% import \"./macros_typography.html.twig\" as macrosTypography %}
  129. {% import \"./macros_button.html.twig\" as macrosButton %}
  130. {% set headerColor = 'header-white'%}
  131. {% set bodyClass = 'bg-white'%}
  132.     {% block content %}
  133.       <section class=\"news-single-section pt-48 xl:pt-64 md:pb-24\"
  134.     section-shade=\"light\">
  135.           <div class=\"custom-text-wrapp mx-auto max-w-[984px] px-8 pb-16 lg:pb-44\">
  136.                 {% for item in content.blocks %}
  137.                   {{ include('includes/blocks/' ~ item.type ~ '.html.twig', { content : item, template : template, globalContent: content}) }}
  138.                 {% endfor %} 
  139.           </div>
  140.       </section>
  141.  
  142.     {% endblock %}
  143.   ""pages/singleNews.html.twig""/home/clients/27e4eb6afe64c67f100a17cbd6809e7c/var/www/oakas-lane/templates/pages/singleNews.html.twig");
  144.     }
  145. }