var/cache/website/dev/twig/a9/a9e9496baa45fbe4b970514ac36cb184.php line 57

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/projects.html.twig */
  14. class __TwigTemplate_d7d4641fd2b75ae8cd2b22ebdecb418e 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/projects.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/projects.html.twig"));
  38.         // line 5
  39.         $macros["macrosTypography"] = $this->macros["macrosTypography"] = $this->loadTemplate("./macros_typography.html.twig""pages/projects.html.twig"5)->unwrap();
  40.         // line 6
  41.         $macros["macrosButton"] = $this->macros["macrosButton"] = $this->loadTemplate("./macros_button.html.twig""pages/projects.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/projects.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), "view" => ($context["view"] ?? null), "index" => twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse14), "nbrPages" => ($context["nbrPages"] ?? 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.         
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  105.         
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  107.     }
  108.     public function getTemplateName()
  109.     {
  110.         return "pages/projects.html.twig";
  111.     }
  112.     public function isTraitable()
  113.     {
  114.         return false;
  115.     }
  116.     public function getDebugInfo()
  117.     {
  118.         return array (  114 => 15,  97 => 14,  80 => 13,  77 => 12,  67 => 11,  56 => 1,  54 => 9,  52 => 8,  50 => 6,  48 => 5,  35 => 1,);
  119.     }
  120.     public function getSourceContext()
  121.     {
  122.         return new Source("{% extends \"base.html.twig\" %}
  123. {% import \"./macros_typography.html.twig\" as macrosTypography %}
  124. {% import \"./macros_button.html.twig\" as macrosButton %}
  125. {% set headerColor = 'header-transparent'%}
  126. {% set bodyClass = 'bg-blue'%}
  127. {% block content %}
  128.           {% for item in content.blocks %}
  129.             {{ include('includes/blocks/' ~ item.type ~ '.html.twig', { content : item, template : template, globalContent: content, view: view, index: loop.index, nbrPages: nbrPages}) }}
  130.           {% endfor %} 
  131.           
  132. {% endblock %}""pages/projects.html.twig""/home/clients/27e4eb6afe64c67f100a17cbd6809e7c/var/www/oakas-lane/templates/pages/projects.html.twig");
  133.     }
  134. }