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