var/cache/dev/twig/29/297cb6d467214b78a6f2dbe937f671ef.php line 45

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* Pages/HomePage/view.html.twig */
  16. class __TwigTemplate_61fb2501ffc5ea45df64da768e9b1fea extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'extra_body_classes' => [$this'block_extra_body_classes'],
  29.             'breadcrumbs' => [$this'block_breadcrumbs'],
  30.             'content' => [$this'block_content'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34.     {
  35.         // line 1
  36.         return "Page/layout.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = []): iterable
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Pages/HomePage/view.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Pages/HomePage/view.html.twig"));
  45.         $this->parent $this->loadTemplate("Page/layout.html.twig""Pages/HomePage/view.html.twig"1);
  46.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 4
  53.     /**
  54.      * @return iterable<null|scalar|\Stringable>
  55.      */
  56.     public function block_extra_body_classes(array $context, array $blocks = []): iterable
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extra_body_classes"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extra_body_classes"));
  63.         yield " homepage";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.         yield from [];
  69.     }
  70.     // line 7
  71.     /**
  72.      * @return iterable<null|scalar|\Stringable>
  73.      */
  74.     public function block_breadcrumbs(array $context, array $blocks = []): iterable
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.         yield from [];
  86.     }
  87.     // line 10
  88.     /**
  89.      * @return iterable<null|scalar|\Stringable>
  90.      */
  91.     public function block_content(array $context, array $blocks = []): iterable
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  98.         // line 11
  99.         yield "    ";
  100.         yield from $this->loadTemplate("Layout/_carousel.html.twig""Pages/HomePage/view.html.twig"11)->unwrap()->yield($context);
  101.         // line 12
  102.         yield "
  103.     ";
  104.         // line 13
  105.         yield from $this->loadTemplate("Layout/_news.html.twig""Pages/HomePage/view.html.twig"13)->unwrap()->yield($context);
  106.         // line 14
  107.         yield "
  108.     ";
  109.         // line 15
  110.         yield from $this->loadTemplate("Layout/_formations.html.twig""Pages/HomePage/view.html.twig"15)->unwrap()->yield($context);
  111.         // line 16
  112.         yield "
  113.     ";
  114.         // line 17
  115.         yield from $this->loadTemplate("Layout/_opportunity.html.twig""Pages/HomePage/view.html.twig"17)->unwrap()->yield($context);
  116.         // line 18
  117.         yield "
  118.     ";
  119.         // line 19
  120.         yield from $this->loadTemplate("Layout/_connected.html.twig""Pages/HomePage/view.html.twig"19)->unwrap()->yield($context);
  121.         // line 20
  122.         yield "
  123.     ";
  124.         // line 21
  125.         yield $this->extensions['Kunstmaan\PagePartBundle\Twig\Extension\PageTemplateTwigExtension']->renderPageTemplate($this->env$context, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'21$this->source); })()));
  126.         yield "
  127. ";
  128.         
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  130.         
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  132.         yield from [];
  133.     }
  134.     /**
  135.      * @codeCoverageIgnore
  136.      */
  137.     public function getTemplateName(): string
  138.     {
  139.         return "Pages/HomePage/view.html.twig";
  140.     }
  141.     /**
  142.      * @codeCoverageIgnore
  143.      */
  144.     public function isTraitable(): bool
  145.     {
  146.         return false;
  147.     }
  148.     /**
  149.      * @codeCoverageIgnore
  150.      */
  151.     public function getDebugInfo(): array
  152.     {
  153.         return array (  149 => 21,  146 => 20,  144 => 19,  141 => 18,  139 => 17,  136 => 16,  134 => 15,  131 => 14,  129 => 13,  126 => 12,  123 => 11,  110 => 10,  88 => 7,  65 => 4,  42 => 1,);
  154.     }
  155.     public function getSourceContext(): Source
  156.     {
  157.         return new Source("{% extends 'Page/layout.html.twig' %}
  158. {# Extra body classes #}
  159. {% block extra_body_classes %} homepage{% endblock %}
  160. {# Breadcrumbs #}
  161. {% block breadcrumbs %}{% endblock %}
  162. {# Content #}
  163. {% block content %}
  164.     {% include 'Layout/_carousel.html.twig' %}
  165.     {% include 'Layout/_news.html.twig' %}
  166.     {% include 'Layout/_formations.html.twig' %}
  167.     {% include 'Layout/_opportunity.html.twig' %}
  168.     {% include 'Layout/_connected.html.twig' %}
  169.     {{ render_pagetemplate(page) }}
  170. {% endblock %}
  171. {# {% block footerscripts %}
  172.     <!-- Google search integration -->
  173.     <script type=\"application/ld+json\">
  174.         {
  175.           \"@context\": \"http://schema.org\",
  176.           \"@type\": \"WebSite\",
  177.           \"url\": \"{{ url(\"_slug\", {url: '/'}) }}\",
  178.           \"potentialAction\": {
  179.             \"@type\": \"SearchAction\",
  180.             \"target\": \"{{ get_url_by_internal_name('search', app.request.locale) }}?query={search_term_string}\",
  181.             \"query-input\": \"required name=search_term_string\"
  182.           }
  183.         }
  184.     </script>
  185. {% endblock %} #}
  186. ""Pages/HomePage/view.html.twig""/home/u363484990/domains/iut-udc.online/public_html/templates/Pages/HomePage/view.html.twig");
  187.     }
  188. }