var/cache/dev/twig/52/52e4577528f73881cea20d195370c2e0.php line 55
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* Default/videos.html.twig */
class __TwigTemplate_767ca1771826daefd9217a4b3df1ee78 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 4
return "Default/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "Default/videos.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/videos.html.twig"));
// line 1
$context["title"] = "Vidéos";
// line 2
$context["menu"] = "articles";
// line 3
$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig", "Default/videos.html.twig", 3)->unwrap();
// line 4
$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/videos.html.twig", 4);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 6
public function block_content($context, array $blocks = [])
{
$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 7
echo "<div class='bg-white ";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("hz-50 vt-50-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bottom-20-in"), "html", null, true);
echo " '>
\t<div class='w100 articles ";
// line 8
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo "'>
\t\t<div class='w100 ";
// line 9
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("gpadding flex row space wrap"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-20-in top-30"), "html", null, true);
echo "'>
\t\t\t";
// line 10
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["list"]) || array_key_exists("list", $context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.', 10, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 11
echo "\t\t\t";
echo twig_call_macro($macros["macros"], "macro_video", [$context["o"]], 11, $context, $this->getSourceContext());
echo "
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 13
echo " ";
if (($this->env->getFunction('isDesktop')->getCallable()() && (twig_length_filter($this->env, (isset($context["list"]) || array_key_exists("list", $context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.', 13, $this->source); })())) % 3))) {
// line 14
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, (3 - (twig_length_filter($this->env, (isset($context["list"]) || array_key_exists("list", $context) ? $context["list"] : (function () { throw new RuntimeError('Variable "list" does not exist.', 14, $this->source); })())) % 3))));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 15
echo " <i class=\"third-20\"></i>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 17
echo " ";
}
// line 18
echo "\t\t</div>
\t</div>
<div class='";
// line 20
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-20-in"), "html", null, true);
echo "'>
";
// line 21
$this->loadTemplate("Default/counter.html.twig", "Default/videos.html.twig", 21)->display(twig_array_merge($context, ["expanded" => true]));
// line 22
echo " </div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Default/videos.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 137 => 22, 135 => 21, 129 => 20, 125 => 18, 122 => 17, 115 => 15, 110 => 14, 107 => 13, 98 => 11, 94 => 10, 88 => 9, 82 => 8, 75 => 7, 65 => 6, 54 => 4, 52 => 3, 50 => 2, 48 => 1, 35 => 4,);
}
public function getSourceContext()
{
return new Source("{% set title = 'Vidéos' %}
{% set menu = 'articles' %}
{% import \"Default/macros.html.twig\" as macros %}
{% extends 'Default/base.html.twig' %}
{% block content %}
<div class='bg-white {{desktop(\"hz-50 vt-50-in\")}} {{mobile(\"bottom-20-in\")}} '>
\t<div class='w100 articles {{desktop(\"\")}} {{mobile(\"\")}}'>
\t\t<div class='w100 {{desktop(\"gpadding flex row space wrap\")}} {{mobile(\"hz-20-in top-30\")}}'>
\t\t\t{% for o in list %}
\t\t\t{{macros.video(o)}}
\t\t\t{% endfor %}
{% if isDesktop() and (list|length % 3) %}
{% for o in 1..(3 - list|length % 3) %}
<i class=\"third-20\"></i>
{% endfor %}
{% endif %}
\t\t</div>
\t</div>
<div class='{{desktop(\"\")}} {{mobile(\"vt-20-in\")}}'>
{% include (\"Default/counter.html.twig\") with {expanded:true} %}
</div>
</div>
{% endblock %}
", "Default/videos.html.twig", "/home/olasoftnka/asin/templates/Default/videos.html.twig");
}
}