var/cache/website/dev/twig/0c/0c930768a5305c29fead57bb4e08486f.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/singlePartner.html.twig */
  14. class __TwigTemplate_7471e09309901ce03c8d3701bab9afe2 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 "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/singlePartner.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/singlePartner.html.twig"));
  38.         // line 5
  39.         $macros["macrosTypography"] = $this->macros["macrosTypography"] = $this->loadTemplate("./macros_typography.html.twig""pages/singlePartner.html.twig"5)->unwrap();
  40.         // line 6
  41.         $macros["macrosButton"] = $this->macros["macrosButton"] = $this->loadTemplate("./macros_button.html.twig""pages/singlePartner.html.twig"6)->unwrap();
  42.         // line 8
  43.         $context["headerColor"] = "header-transparent";
  44.         // line 9
  45.         $context["bodyClass"] = "bg-blue";
  46.         // line 1
  47.         $this->parent $this->loadTemplate("base.html.twig""pages/singlePartner.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 11
  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 12
  63.         echo "
  64.           ";
  65.         // line 13
  66.         $context['_parent'] = $context;
  67.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["content"] ?? null), "blocks", [], "any"falsefalsefalse13));
  68.         $context['loop'] = [
  69.           'parent' => $context['_parent'],
  70.           'index0' => 0,
  71.           'index'  => 1,
  72.           'first'  => true,
  73.         ];
  74.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  75.             $length count($context['_seq']);
  76.             $context['loop']['revindex0'] = $length 1;
  77.             $context['loop']['revindex'] = $length;
  78.             $context['loop']['length'] = $length;
  79.             $context['loop']['last'] = === $length;
  80.         }
  81.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  82.             // line 14
  83.             echo "            ";
  84.             echo twig_include($this->env$context, (("includes/blocks/" twig_get_attribute($this->env$this->source$context["item"], "type", [], "any"falsefalsefalse14)) . ".html.twig"), ["content" => $context["item"], "template" => ($context["template"] ?? null), "globalContent" => ($context["content"] ?? null)]);
  85.             echo "
  86.           ";
  87.             ++$context['loop']['index0'];
  88.             ++$context['loop']['index'];
  89.             $context['loop']['first'] = false;
  90.             if (isset($context['loop']['length'])) {
  91.                 --$context['loop']['revindex0'];
  92.                 --$context['loop']['revindex'];
  93.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  94.             }
  95.         }
  96.         $_parent $context['_parent'];
  97.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  98.         $context array_intersect_key($context$_parent) + $_parent;
  99.         // line 15
  100.         echo 
  101. ";
  102.         
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  104.         
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106.     }
  107.     public function getTemplateName()
  108.     {
  109.         return "pages/singlePartner.html.twig";
  110.     }
  111.     public function isTraitable()
  112.     {
  113.         return false;
  114.     }
  115.     public function getDebugInfo()
  116.     {
  117.         return array (  114 => 15,  97 => 14,  80 => 13,  77 => 12,  67 => 11,  56 => 1,  54 => 9,  52 => 8,  50 => 6,  48 => 5,  35 => 1,);
  118.     }
  119.     public function getSourceContext()
  120.     {
  121.         return new Source("{% extends \"base.html.twig\" %}
  122. {% import \"./macros_typography.html.twig\" as macrosTypography %}
  123. {% import \"./macros_button.html.twig\" as macrosButton %}
  124. {% set headerColor = 'header-transparent'%}
  125. {% set bodyClass = 'bg-blue'%}
  126. {% block content %}
  127.           {% for item in content.blocks %}
  128.             {{ include('includes/blocks/' ~ item.type ~ '.html.twig', { content : item, template : template, globalContent: content}) }}
  129.           {% endfor %} 
  130. {% endblock %}""pages/singlePartner.html.twig""/home/clients/27e4eb6afe64c67f100a17cbd6809e7c/var/www/oakas-lane/templates/pages/singlePartner.html.twig");
  131.     }
  132. }