<?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;
/* pages/singleNews.html.twig */
class __TwigTemplate_c5e873c73386cdde3e8688036ba1ae8c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "single-news-base.html.twig";
}
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", "pages/singleNews.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/singleNews.html.twig"));
// line 5
$macros["macrosTypography"] = $this->macros["macrosTypography"] = $this->loadTemplate("./macros_typography.html.twig", "pages/singleNews.html.twig", 5)->unwrap();
// line 6
$macros["macrosButton"] = $this->macros["macrosButton"] = $this->loadTemplate("./macros_button.html.twig", "pages/singleNews.html.twig", 6)->unwrap();
// line 8
$context["headerColor"] = "header-white";
// line 9
$context["bodyClass"] = "bg-white";
// line 1
$this->parent = $this->loadTemplate("single-news-base.html.twig", "pages/singleNews.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 13
public function block_content($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(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 14
echo "
<section class=\"news-single-section pt-48 xl:pt-64 md:pb-24\"
section-shade=\"light\">
<div class=\"custom-text-wrapp mx-auto max-w-[984px] px-8 pb-16 lg:pb-44\">
";
// line 20
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["content"] ?? null), "blocks", [], "any", false, false, false, 20));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 21
echo " ";
echo twig_include($this->env, $context, (("includes/blocks/" . twig_get_attribute($this->env, $this->source, $context["item"], "type", [], "any", false, false, false, 21)) . ".html.twig"), ["content" => $context["item"], "template" => ($context["template"] ?? null), "globalContent" => ($context["content"] ?? null)]);
echo "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 22
echo "
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "pages/singleNews.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 119 => 22, 102 => 21, 85 => 20, 77 => 14, 67 => 13, 56 => 1, 54 => 9, 52 => 8, 50 => 6, 48 => 5, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"single-news-base.html.twig\" %}
{% import \"./macros_typography.html.twig\" as macrosTypography %}
{% import \"./macros_button.html.twig\" as macrosButton %}
{% set headerColor = 'header-white'%}
{% set bodyClass = 'bg-white'%}
{% block content %}
<section class=\"news-single-section pt-48 xl:pt-64 md:pb-24\"
section-shade=\"light\">
<div class=\"custom-text-wrapp mx-auto max-w-[984px] px-8 pb-16 lg:pb-44\">
{% for item in content.blocks %}
{{ include('includes/blocks/' ~ item.type ~ '.html.twig', { content : item, template : template, globalContent: content}) }}
{% endfor %}
</div>
</section>
{% endblock %}
", "pages/singleNews.html.twig", "/home/clients/27e4eb6afe64c67f100a17cbd6809e7c/var/www/oakas-lane/templates/pages/singleNews.html.twig");
}
}