var/cache/dev/twig/22/2295a57421352140e30acb2150cfa233.php line 75
<?phpuse 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/article.html.twig */class __TwigTemplate_c1b63d3349dd0143db54572a945eb109 extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['banner' => [$this, 'block_banner'],'content' => [$this, 'block_content'],];}protected function doGetParent(array $context){// line 8return "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/article.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/article.html.twig"));// line 1$context["title"] = twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 1, $this->source); })()), "title", [], "any", false, false, false, 1);// line 2$context["desc"] = twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 2, $this->source); })()), "description", [], "any", false, false, false, 2);// line 3$context["menu"] = "articles";// line 4if (twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 4, $this->source); })()), "banner", [], "any", false, false, false, 4)) {// line 5$context["thumbnail"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 5, $this->source); })()), "banner", [], "any", false, false, false, 5), "thumbnail", [], "any", false, false, false, 5);// line 6$context["banner"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 6, $this->source); })()), "banner", [], "any", false, false, false, 6), "file", [], "any", false, false, false, 6));}// line 9$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig", "Default/article.html.twig", 9)->unwrap();// line 8$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/article.html.twig", 8);$this->parent->display($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 11public function block_banner($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", "banner"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "banner"));// line 12echo "\t<div id=\"banner-article\" class=\" w100 htop-in ";echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("gpadding top-80"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-20-in top-20-in bottom-30"), "html", null, true);echo "\">\t\t<div class=\"flex row w100 ";// line 13echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("bottom-80-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bottom-30-in"), "html", null, true);echo "\">\t\t\t<div class=\"";// line 14echo 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\t\t<figure class=\"relative w100 hoverflow mrect ";// line 15echo 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\t\t\t<img src='";// line 16echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 16, $this->source); })()), "banner", [], "any", false, false, false, 16)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 16, $this->source); })()), "banner", [], "any", false, false, false, 16), "file", [], "any", false, false, false, 16)) : ("images/armoiries.jpg"))), "html", null, true);echo "' class=\"cover\">\t\t\t\t</figure>\t\t\t\t<div class=\"flex row space\">\t\t\t\t\t<i class=\"third\"></i>\t\t\t\t\t<div class=\"w100 right bg-success top-10-in ";// line 20echo 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 "\"><span class=\"top-2-in ";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 "\"></span></div>\t\t\t\t</div>\t\t\t</div>\t\t\t<div class=\"w100 ";// line 23echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-40-in left-70 left-2-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);echo "\">\t\t\t\t<div class=\"";// line 24echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("bottom-50 bottom-2-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bottom-20-in"), "html", null, true);echo "\">\t\t\t\t\t<div class=\"flex row middle ";// line 25echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("bottom-25"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bottom-15"), "html", null, true);echo "\">\t\t\t\t\t\t<div class=\"p-alt flex row middle upper ";// line 26echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("right-30 right-5-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("right-20"), "html", null, true);echo "\">\t\t\t\t\t\t\t<i class=\"circle bg-warning ";// line 27echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("padding-4 right-10"), "html", null, true);echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("padding-3 right-5"), "html", null, true);echo "\"></i>\t\t\t\t\t\t\t<time class=\"warning\">";// line 28((twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 28, $this->source); })()), "date", [], "any", false, false, false, 28)) ? (print (twig_escape_filter($this->env, $this->env->getFilter('frdate')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 28, $this->source); })()), "date", [], "any", false, false, false, 28)), "html", null, true))) : (print ("")));echo "</time>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div class=\"p-alt flex row middle \">\t\t\t\t\t\t\t<i class=\"circle bg-warning ";// line 31echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("padding-4 right-10"), "html", null, true);echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("padding-3 right-5"), "html", null, true);echo "\"></i>\t\t\t\t\t\t\t<span class=\"upper warning\">";// line 32echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 32, $this->source); })()), "category", [], "any", false, false, false, 32), "name", [], "any", false, false, false, 32), "html", null, true);echo "</span>\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<h3 class=\"success bold flex row ";// line 35echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("h2 lh-10x bottom-15 right-40-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("lh-5x bottom-8"), "html", null, true);echo "\">\t\t\t\t\t\t";// line 36echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 36, $this->source); })()), "title", [], "any", false, false, false, 36), "html", null, true);echo "\t\t\t\t\t</h3>\t\t\t\t</div>\t\t\t\t<div class=\"flex row w100\">\t\t\t\t\t<a href=\"";// line 40echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("articles");echo "\" class='border border-success flex row middle extrabold ";echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("padding-30"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("padding-15"), "html", null, true);echo "'>\t\t\t\t\t\t<span class='";// line 41echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("padding-6"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);echo "'>\t\t\t\t\t\t\t<i class=\"fa fa-arrow-left success right-10\"></i>\t\t\t\t\t\t\t<span class='p success upper '>Retour vers les publications</span>\t\t\t\t\t\t</span>\t\t\t\t\t</a>\t\t\t\t\t<a href=\"\" class='bg-success flex row middle extrabold ";// line 46echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("left-20 padding-30"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("padding-15"), "html", null, true);echo "'>\t\t\t\t\t\t<span class='";// line 47echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("padding-6"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);echo "'>\t\t\t\t\t\t\t<i class=\"fa fa-external-link white right-10\"></i>\t\t\t\t\t\t\t<span class='p white upper '>Partager</span>\t\t\t\t\t\t</span>\t\t\t\t\t</a>\t\t\t\t</div>\t\t\t</div>\t\t</div>\t\t<div class=\"w100 bg-gray top-1-in ";// line 55echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);echo "\"></div>\t</div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 59public 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 60echo "<div class='";echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("gpadding bottom-80 bottom-80-in "), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-20-in vt-30-in"), "html", null, true);echo " '><div class='";// line 61echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("flex row space top bottom-6"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);echo "'><div id='article' class='w100 ";// line 62echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("border noborder border-1x border-right border-gray right-60-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-20-in"), "html", null, true);echo "'>\t\t\t<div class=\"w100 ";// line 63echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-80"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-30-in"), "html", null, true);echo "\"></div>\t\t\t";// line 64if (twig_nl2br(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 64, $this->source); })()), "description", [], "any", false, false, false, 64), "html", null, true))) {// line 65echo " <article class='h4 article success semibold bg-gray-alt padding-20 ";echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-30"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-10"), "html", null, true);echo "'>";// line 66echo twig_nl2br(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 66, $this->source); })()), "description", [], "any", false, false, false, 66), "html", null, true));echo "</article>\t\t\t";}// line 69echo " <article class='h4 article black ";echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-30"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-10"), "html", null, true);echo "'>";// line 70echo twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 70, $this->source); })()), "content", [], "any", false, false, false, 70);echo "</article>";// line 73if ((twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 73, $this->source); })()), "biblio", [], "any", false, false, false, 73) && twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 73, $this->source); })()), "biblio", [], "any", false, false, false, 73), "files", [], "any", false, false, false, 73)))) {// line 74echo " <h2 class='h3 adapt top-40 adapt'>Document(s) joint(s)</h2><div class='flex row space wrap bg-success ";// line 75echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-40"), "html", null, true);echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-20"), "html", null, true);echo "'>";// line 76$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 76, $this->source); })()), "biblio", [], "any", false, false, false, 76), "files", [], "any", false, false, false, 76));foreach ($context['_seq'] as $context["_key"] => $context["o"]) {// line 77echo " <div class='doc flex row top ";echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("half-20"), "html", null, true);echo " relative gradient-banner bottom-20 hz-25-in vt-20-in hoverflow ";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 "'>";// line 78$context["doc"] = $context["o"];// line 79echo " <span class=\"\"><i class=\"fa fa-file gray fa-3x\"></i></span><div class='text-left flex col space relative left-20 right-40-in'><h3 class='h6 medium white p text-left nomargin lh-1x'>";// line 83echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 83, $this->source); })()), "name", [], "any", false, false, false, 83)) ? (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 83, $this->source); })()), "name", [], "any", false, false, false, 83)) : (twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 83, $this->source); })()), "source", [], "any", false, false, false, 83))), "html", null, true);echo "</h3><div class=\"flex col middle space top-10\"><div class='gray text-left p-alt'><span class=''>";// line 86echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 86, $this->source); })()), "formatSize", [], "any", false, false, false, 86), "html", null, true);echo "</span> |<span class=''>";// line 87echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 87, $this->source); })()), "reading", [], "any", false, false, false, 87)), "html", null, true);echo " lect.</span> |<span>";// line 88echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 88, $this->source); })()), "downloads", [], "any", false, false, false, 88)), "html", null, true);echo " téléch.</span></div><div class='flex row middle p upper medium top-20 nowrap'><i class=\"w100 top-2-in bg-gray right-40\"></i><span class='os-read warning-alt' data-target=\"";// line 92echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("file-read", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 92, $this->source); })()), "id", [], "any", false, false, false, 92)]), "html", null, true);echo "\">Lire</span><a class='left-30 warning-alt' href=\"";// line 93echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("file-download", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["doc"]) || array_key_exists("doc", $context) ? $context["doc"] : (function () { throw new RuntimeError('Variable "doc" does not exist.', 93, $this->source); })()), "id", [], "any", false, false, false, 93)]), "html", null, true);echo "\" target='_blank' download>Télécharger</a></div></div></div><i class=\"triangle gradient-bannerm bg-white\"></i></div>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 100echo " </div>";}// line 102echo "";// line 103if (twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 103, $this->source); })()), "youtube", [], "any", false, false, false, 103)) {// line 104echo " <h2 class='h3 adapt top-40 adapt'>Suivez la vidéo</h2><div class='bg-gray w100'><iframe class='block block-center w100 youtube-frame' src='";// line 106echo twig_escape_filter($this->env, $this->env->getFilter('youtubeEmbed')->getCallable()($this->env->getFilter('youtubeId')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 106, $this->source); })()), "youtube", [], "any", false, false, false, 106))), "html", null, true);echo "' frameborder='0' allow='accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe></div>";}// line 109echo "";// line 110if ((twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 110, $this->source); })()), "album", [], "any", false, false, false, 110) && twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 110, $this->source); })()), "album", [], "any", false, false, false, 110), "pictures", [], "any", false, false, false, 110)))) {// line 111echo " <h2 class='h3 top-40'>";((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 111, $this->source); })()), "album", [], "any", false, false, false, 111), "title", [], "any", false, false, false, 111)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 111, $this->source); })()), "album", [], "any", false, false, false, 111), "title", [], "any", false, false, false, 111), "html", null, true))) : (print ("Album photos")));echo "</h2><figure class=\"bg-white slide-box mrect slide-container fill nohover relative top-40 shadow-alt\" tabindex=\"1\"><div class=\"fill slides radius-10 adapt\">";// line 114$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 114, $this->source); })()), "album", [], "any", false, false, false, 114), "pictures", [], "any", false, false, false, 114));$context['loop'] = ['parent' => $context['_parent'],'index0' => 0,'index' => 1,'first' => true,];if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {$length = count($context['_seq']);$context['loop']['revindex0'] = $length - 1;$context['loop']['revindex'] = $length;$context['loop']['length'] = $length;$context['loop']['last'] = 1 === $length;}foreach ($context['_seq'] as $context["_key"] => $context["o"]) {// line 115echo " <div class='relative slide ";echo (((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 115) == 1)) ? ("active") : (""));echo "'><img src='";// line 116echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["o"]), "html", null, true);echo "' class='contain'/></div>";++$context['loop']['index0'];++$context['loop']['index'];$context['loop']['first'] = false;if (isset($context['loop']['length'])) {--$context['loop']['revindex0'];--$context['loop']['revindex'];$context['loop']['last'] = 0 === $context['loop']['revindex0'];}}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 119echo " </div><span class=\"slide-prev radius-50 h100 padding-30 absolute top left pointer\" data-target=\"#article .slide-box\"><span class=\"fill flex col middle\"><i class=\"flex col middle fa fa-chevron-left h1 black\"></i></span></span><span class=\"slide-next radius-50 h100 padding-30 absolute top right pointer\" data-target=\"#article .slide-box\"><span class=\"fill flex col middle\"><i class=\"flex col middle fa fa-chevron-right h1 black\"></i></span></span></figure>";}// line 128echo "";// line 129if (twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 129, $this->source); })()), "flickr", [], "any", false, false, false, 129)) {// line 130echo " <h2 class='h3 adapt top-40 adapt'>Album photos</h2><div class='bg-gray w100'><iframe class='block-center w100 flickr-frame' src='";// line 132echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 132, $this->source); })()), "flickr", [], "any", false, false, false, 132), ["albums" => "sets"]), "html", null, true);echo "/player' scrolling='no' align='middle' frameborder='0'></iframe></div>";}// line 135echo " </div><aside class=\"bg-gray-alt ";// line 136echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("third-60 left-60 vt-20-in hz-20-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(" vt-20-in hz-15-in"), "html", null, true);echo "\"><h2 class=\"h2 aquawax light success ";// line 137echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(" vt-20-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-15"), "html", null, true);echo "\">Autres articles similaires</h2>";// line 138$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.', 138, $this->source); })()));foreach ($context['_seq'] as $context["_key"] => $context["o"]) {// line 139echo " ";// line 156echo " ";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 157echo " </aside>\t</div></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "Default/article.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 493 => 157, 487 => 156, 485 => 139, 481 => 138, 475 => 137, 469 => 136, 466 => 135, 460 => 132, 456 => 130, 454 => 129, 451 => 128, 440 => 119, 423 => 116, 418 => 115, 401 => 114, 394 => 111, 392 => 110, 389 => 109, 383 => 106, 379 => 104, 377 => 103, 374 => 102, 370 => 100, 357 => 93, 353 => 92, 346 => 88, 342 => 87, 338 => 86, 332 => 83, 326 => 79, 324 => 78, 315 => 77, 311 => 76, 306 => 75, 303 => 74, 301 => 73, 295 => 70, 288 => 69, 282 => 66, 275 => 65, 273 => 64, 267 => 63, 261 => 62, 255 => 61, 248 => 60, 238 => 59, 225 => 55, 212 => 47, 206 => 46, 196 => 41, 188 => 40, 181 => 36, 175 => 35, 169 => 32, 164 => 31, 158 => 28, 153 => 27, 147 => 26, 141 => 25, 135 => 24, 129 => 23, 117 => 20, 110 => 16, 104 => 15, 98 => 14, 92 => 13, 85 => 12, 75 => 11, 64 => 8, 62 => 9, 59 => 6, 57 => 5, 55 => 4, 53 => 3, 51 => 2, 49 => 1, 36 => 8,);}public function getSourceContext(){return new Source("{% set title = article.title %}{% set desc = article.description %}{% set menu = 'articles' %}{% if article.banner %}{% set thumbnail = article.banner.thumbnail %}{% set banner = asset(article.banner.file) %}{% endif %}{% extends 'Default/base.html.twig' %}{% import \"Default/macros.html.twig\" as macros %}{% block banner %}\t<div id=\"banner-article\" class=\" w100 htop-in {{desktop('gpadding top-80')}} {{mobile('hz-20-in top-20-in bottom-30')}}\">\t\t<div class=\"flex row w100 {{desktop('bottom-80-in')}} {{mobile('bottom-30-in')}}\">\t\t\t<div class=\"{{desktop('')}} {{mobile('')}}\" >\t\t\t\t<figure class=\"relative w100 hoverflow mrect {{desktop('')}} {{mobile('')}}\" >\t\t\t\t\t<img src='{{asset(article.banner ? article.banner.file : \"images/armoiries.jpg\")}}' class=\"cover\">\t\t\t\t</figure>\t\t\t\t<div class=\"flex row space\">\t\t\t\t\t<i class=\"third\"></i>\t\t\t\t\t<div class=\"w100 right bg-success top-10-in {{desktop(\"\")}} {{mobile(\"\")}}\"><span class=\"top-2-in {{desktop(\"\")}} {{mobile(\"\")}}\"></span></div>\t\t\t\t</div>\t\t\t</div>\t\t\t<div class=\"w100 {{desktop('top-40-in left-70 left-2-in')}} {{mobile('')}}\">\t\t\t\t<div class=\"{{desktop('bottom-50 bottom-2-in')}} {{mobile('bottom-20-in')}}\">\t\t\t\t\t<div class=\"flex row middle {{desktop('bottom-25')}} {{mobile('bottom-15')}}\">\t\t\t\t\t\t<div class=\"p-alt flex row middle upper {{desktop('right-30 right-5-in')}} {{mobile('right-20')}}\">\t\t\t\t\t\t\t<i class=\"circle bg-warning {{desktop('padding-4 right-10')}}{{mobile('padding-3 right-5')}}\"></i>\t\t\t\t\t\t\t<time class=\"warning\">{{article.date ? article.date|frdate}}</time>\t\t\t\t\t\t</div>\t\t\t\t\t\t<div class=\"p-alt flex row middle \">\t\t\t\t\t\t\t<i class=\"circle bg-warning {{desktop('padding-4 right-10')}}{{mobile('padding-3 right-5')}}\"></i>\t\t\t\t\t\t\t<span class=\"upper warning\">{{article.category.name}}</span>\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t\t<h3 class=\"success bold flex row {{desktop('h2 lh-10x bottom-15 right-40-in')}} {{mobile('lh-5x bottom-8')}}\">\t\t\t\t\t\t{{article.title}}\t\t\t\t\t</h3>\t\t\t\t</div>\t\t\t\t<div class=\"flex row w100\">\t\t\t\t\t<a href=\"{{url('articles')}}\" class='border border-success flex row middle extrabold {{desktop(\"padding-30\")}} {{mobile(\"padding-15\")}}'>\t\t\t\t\t\t<span class='{{desktop(\"padding-6\")}} {{mobile(\"\")}}'>\t\t\t\t\t\t\t<i class=\"fa fa-arrow-left success right-10\"></i>\t\t\t\t\t\t\t<span class='p success upper '>Retour vers les publications</span>\t\t\t\t\t\t</span>\t\t\t\t\t</a>\t\t\t\t\t<a href=\"\" class='bg-success flex row middle extrabold {{desktop(\"left-20 padding-30\")}} {{mobile(\"padding-15\")}}'>\t\t\t\t\t\t<span class='{{desktop(\"padding-6\")}} {{mobile(\"\")}}'>\t\t\t\t\t\t\t<i class=\"fa fa-external-link white right-10\"></i>\t\t\t\t\t\t\t<span class='p white upper '>Partager</span>\t\t\t\t\t\t</span>\t\t\t\t\t</a>\t\t\t\t</div>\t\t\t</div>\t\t</div>\t\t<div class=\"w100 bg-gray top-1-in {{desktop('')}}\"></div>\t</div>{% endblock banner %}{% block content %}<div class='{{desktop(\"gpadding bottom-80 bottom-80-in \")}} {{mobile(\"hz-20-in vt-30-in\")}} '><div class='{{desktop(\"flex row space top bottom-6\")}} {{mobile(\"\")}}'><div id='article' class='w100 {{desktop(\"border noborder border-1x border-right border-gray right-60-in\")}} {{mobile(\"vt-20-in\")}}'>\t\t\t<div class=\"w100 {{desktop('top-80')}} {{mobile('top-30-in')}}\"></div>\t\t\t{%if article.description|nl2br %}<article class='h4 article success semibold bg-gray-alt padding-20 {{desktop(\"top-30\")}} {{mobile(\"top-10\")}}'>{{ article.description|nl2br }}</article>\t\t\t{%endif%}<article class='h4 article black {{desktop(\"top-30\")}} {{mobile(\"top-10\")}}'>{{ article.content|raw }}</article>{% if article.biblio and article.biblio.files|length %}<h2 class='h3 adapt top-40 adapt'>Document(s) joint(s)</h2><div class='flex row space wrap bg-success {{desktop(\"top-40\")}}{{mobile(\"top-20\")}}'>{% for o in article.biblio.files %}<div class='doc flex row top {{desktop(\"half-20\")}} relative gradient-banner bottom-20 hz-25-in vt-20-in hoverflow {{desktop(\"\")}} {{mobile(\"\")}}'>{% set doc = o %}<span class=\"\"><i class=\"fa fa-file gray fa-3x\"></i></span><div class='text-left flex col space relative left-20 right-40-in'><h3 class='h6 medium white p text-left nomargin lh-1x'>{{doc.name ? doc.name : doc.source}}</h3><div class=\"flex col middle space top-10\"><div class='gray text-left p-alt'><span class=''>{{doc.formatSize}}</span> |<span class=''>{{doc.reading|number_format}} lect.</span> |<span>{{doc.downloads|number_format}} téléch.</span></div><div class='flex row middle p upper medium top-20 nowrap'><i class=\"w100 top-2-in bg-gray right-40\"></i><span class='os-read warning-alt' data-target=\"{{path('file-read',{id:doc.id})}}\">Lire</span><a class='left-30 warning-alt' href=\"{{path('file-download',{id:doc.id})}}\" target='_blank' download>Télécharger</a></div></div></div><i class=\"triangle gradient-bannerm bg-white\"></i></div>{% endfor %}</div>{% endif %}{% if article.youtube %}<h2 class='h3 adapt top-40 adapt'>Suivez la vidéo</h2><div class='bg-gray w100'><iframe class='block block-center w100 youtube-frame' src='{{article.youtube|youtubeId|youtubeEmbed}}' frameborder='0' allow='accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe></div>{% endif %}{% if article.album and article.album.pictures|length %}<h2 class='h3 top-40'>{{article.album.title ? article.album.title : \"Album photos\"}}</h2><figure class=\"bg-white slide-box mrect slide-container fill nohover relative top-40 shadow-alt\" tabindex=\"1\"><div class=\"fill slides radius-10 adapt\">{% for o in article.album.pictures %}<div class='relative slide {{loop.index == 1 ? \"active\"}}'><img src='{{asset(o)}}' class='contain'/></div>{% endfor %}</div><span class=\"slide-prev radius-50 h100 padding-30 absolute top left pointer\" data-target=\"#article .slide-box\"><span class=\"fill flex col middle\"><i class=\"flex col middle fa fa-chevron-left h1 black\"></i></span></span><span class=\"slide-next radius-50 h100 padding-30 absolute top right pointer\" data-target=\"#article .slide-box\"><span class=\"fill flex col middle\"><i class=\"flex col middle fa fa-chevron-right h1 black\"></i></span></span></figure>{% endif %}{% if article.flickr %}<h2 class='h3 adapt top-40 adapt'>Album photos</h2><div class='bg-gray w100'><iframe class='block-center w100 flickr-frame' src='{{article.flickr|replace({\"albums\":\"sets\"})}}/player' scrolling='no' align='middle' frameborder='0'></iframe></div>{% endif %}</div><aside class=\"bg-gray-alt {{desktop('third-60 left-60 vt-20-in hz-20-in')}} {{mobile(' vt-20-in hz-15-in')}}\"><h2 class=\"h2 aquawax light success {{desktop(' vt-20-in')}} {{mobile('vt-15')}}\">Autres articles similaires</h2>{% for o in list %}{# <div class=\"w100 {{desktop(' vt-20-in')}} {{mobile('vt-15')}}\"><figure class=\"w100 flex row top\"><img src=\"{{asset(o.banner ? o.banner.thumbnail : 'images/logo.svg')}}\" class=\"block third {{desktop(o.banner ? '' : 'hz-25-in')}}\"><div class=\"flex col {{desktop('left-15')}} {{mobile('left-10')}}\"><h3 class=\"p-alt white regular\">{{o.title}}</h3><div class=\"flex row middle top-10\"><i class=\"fa fa-eye warning-alt left-10\"></i><a class='p-alt lspacing upper medium warning-alt {{desktop(\"left-10\")}} {{mobile(\"left-5\")}}'href='{{path(\"article\",{id:o.id, slug:o.slug})}}'>Lire l'article</a></div></div></figure></div>#}{% endfor %}</aside>\t</div></div>{% endblock %}", "Default/article.html.twig", "/home/olasoftnka/asin/templates/Default/article.html.twig");}}