<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* Pages/HomePage/view.html.twig */
class __TwigTemplate_61fb2501ffc5ea45df64da768e9b1fea extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'extra_body_classes' => [$this, 'block_extra_body_classes'],
'breadcrumbs' => [$this, 'block_breadcrumbs'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "Page/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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/HomePage/view.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/HomePage/view.html.twig"));
$this->parent = $this->loadTemplate("Page/layout.html.twig", "Pages/HomePage/view.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_extra_body_classes(array $context, array $blocks = []): iterable
{
$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", "extra_body_classes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extra_body_classes"));
yield " homepage";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 7
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_breadcrumbs(array $context, array $blocks = []): iterable
{
$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", "breadcrumbs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 10
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$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 11
yield " ";
yield from $this->loadTemplate("Layout/_carousel.html.twig", "Pages/HomePage/view.html.twig", 11)->unwrap()->yield($context);
// line 12
yield "
";
// line 13
yield from $this->loadTemplate("Layout/_news.html.twig", "Pages/HomePage/view.html.twig", 13)->unwrap()->yield($context);
// line 14
yield "
";
// line 15
yield from $this->loadTemplate("Layout/_formations.html.twig", "Pages/HomePage/view.html.twig", 15)->unwrap()->yield($context);
// line 16
yield "
";
// line 17
yield from $this->loadTemplate("Layout/_opportunity.html.twig", "Pages/HomePage/view.html.twig", 17)->unwrap()->yield($context);
// line 18
yield "
";
// line 19
yield from $this->loadTemplate("Layout/_connected.html.twig", "Pages/HomePage/view.html.twig", 19)->unwrap()->yield($context);
// line 20
yield "
";
// line 21
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); })()));
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Pages/HomePage/view.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'Page/layout.html.twig' %}
{# Extra body classes #}
{% block extra_body_classes %} homepage{% endblock %}
{# Breadcrumbs #}
{% block breadcrumbs %}{% endblock %}
{# Content #}
{% block content %}
{% include 'Layout/_carousel.html.twig' %}
{% include 'Layout/_news.html.twig' %}
{% include 'Layout/_formations.html.twig' %}
{% include 'Layout/_opportunity.html.twig' %}
{% include 'Layout/_connected.html.twig' %}
{{ render_pagetemplate(page) }}
{% endblock %}
{# {% block footerscripts %}
<!-- Google search integration -->
<script type=\"application/ld+json\">
{
\"@context\": \"http://schema.org\",
\"@type\": \"WebSite\",
\"url\": \"{{ url(\"_slug\", {url: '/'}) }}\",
\"potentialAction\": {
\"@type\": \"SearchAction\",
\"target\": \"{{ get_url_by_internal_name('search', app.request.locale) }}?query={search_term_string}\",
\"query-input\": \"required name=search_term_string\"
}
}
</script>
{% endblock %} #}
", "Pages/HomePage/view.html.twig", "/home/u363484990/domains/iut-udc.online/public_html/templates/Pages/HomePage/view.html.twig");
}
}