<?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/article.html.twig */
class __TwigTemplate_fda73fe560e98eed2992f20f43062561d2b03fb5c879152c052c702e8dec6970 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'titlebox' => [$this, 'block_titlebox'],
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 8
return "Default/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/article.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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 4
if (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 8
$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/article.html.twig", 8);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 10
public function block_titlebox($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "titlebox"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "titlebox"));
// line 11
echo "<div class='relative white ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["vt-40-in"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), [""]), "html", null, true);
echo "'>
";
// line 12
$this->displayBlock('title', $context, $blocks);
// line 15
echo "</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 12
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 13
echo " <h1 class='h3 upper lh-1 text-center'>";
((array_key_exists("title", $context)) ? (print (twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 13, $this->source); })()), "html", null, true))) : (print ("")));
echo "</h1>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 19
echo "<div class='";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["gpadding vt-40-in"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["gpadding vt-30-in"]), "html", null, true);
echo " '>
<div class='";
// line 20
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["gpadding flex row center top"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), [""]), "html", null, true);
echo "'>
<div id='article' class='w100 ";
// line 21
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [""]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-20-in"]), "html", null, true);
echo "'>
<figure class=\"w100 ";
// line 22
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [""]), "html", null, true);
echo "\">
<img src=\"";
// line 23
echo 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.', 23, $this->source); })()), "banner", [], "any", false, false, false, 23)), "html", null, true);
echo "\" class=\"block w100\"/>
</figure>
<article class='p article black ";
// line 25
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["top-30"]), "html", null, true);
echo "'>
";
// line 26
echo 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.', 26, $this->source); })()), "content", [], "any", false, false, false, 26);
echo "
</article>
";
// line 29
if ((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.', 29, $this->source); })()), "biblio", [], "any", false, false, false, 29) && 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.', 29, $this->source); })()), "biblio", [], "any", false, false, false, 29), "files", [], "any", false, false, false, 29)))) {
// line 30
echo " <h2 class='h3 adapt top-40 adapt'>Document(s) joint(s)</h2>
<div class='flex row space wrap ";
// line 31
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["top-40"]), "html", null, true);
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["top-20"]), "html", null, true);
echo "'>
";
// line 32
$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.', 32, $this->source); })()), "biblio", [], "any", false, false, false, 32), "files", [], "any", false, false, false, 32));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 33
echo " <div class='doc flex row top ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["half-20"]), "html", null, true);
echo " relative bg-black bottom-20 hz-25-in vt-20-in hoverflow ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [""]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), [""]), "html", null, true);
echo "'>
";
// line 34
$context["doc"] = $context["o"];
// line 35
echo " <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 39
echo 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.', 39, $this->source); })()), "name", [], "any", false, false, false, 39)) ? (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.', 39, $this->source); })()), "name", [], "any", false, false, false, 39)) : (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.', 39, $this->source); })()), "source", [], "any", false, false, false, 39))), "html", null, true);
echo "</h3>
<div class=\"flex col middle space top-10\">
<div class='gray text-left p-alt'>
<span class=''>";
// line 42
echo 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.', 42, $this->source); })()), "formatSize", [], "any", false, false, false, 42), "html", null, true);
echo "</span> |
<span class=''>";
// line 43
echo 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.', 43, $this->source); })()), "reading", [], "any", false, false, false, 43)), "html", null, true);
echo " lect.</span> |
<span>";
// line 44
echo 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.', 44, $this->source); })()), "downloads", [], "any", false, false, false, 44)), "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 white' data-url=\"";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("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.', 48, $this->source); })()), "id", [], "any", false, false, false, 48), "name" => ((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.', 48, $this->source); })()), "name", [], "any", false, false, false, 48)) ? (call_user_func_array($this->env->getFilter('slug')->getCallable(), [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.', 48, $this->source); })()), "name", [], "any", false, false, false, 48)])) : (call_user_func_array($this->env->getFilter('slug')->getCallable(), [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.', 48, $this->source); })()), "source", [], "any", false, false, false, 48)])))]), "html", null, true);
echo "\">Lire</span>
<a class='left-30 warning' href=\"";
// line 49
echo 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.', 49, $this->source); })()), "id", [], "any", false, false, false, 49), "name" => ((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.', 49, $this->source); })()), "name", [], "any", false, false, false, 49)) ? (call_user_func_array($this->env->getFilter('slug')->getCallable(), [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.', 49, $this->source); })()), "name", [], "any", false, false, false, 49)])) : (call_user_func_array($this->env->getFilter('slug')->getCallable(), [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.', 49, $this->source); })()), "source", [], "any", false, false, false, 49)])))]), "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 56
echo " </div>
";
}
// line 58
echo "
";
// line 59
if (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.', 59, $this->source); })()), "youtube", [], "any", false, false, false, 59)) {
// line 60
echo " <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 62
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('youtubeEmbed')->getCallable(), [call_user_func_array($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.', 62, $this->source); })()), "youtube", [], "any", false, false, false, 62)])]), "html", null, true);
echo "' frameborder='0' allow='accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>
</div>
";
}
// line 65
echo "
";
// line 66
if ((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); })()), "album", [], "any", false, false, false, 66) && 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.', 66, $this->source); })()), "album", [], "any", false, false, false, 66), "pictures", [], "any", false, false, false, 66)))) {
// line 67
echo " <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.', 67, $this->source); })()), "album", [], "any", false, false, false, 67), "title", [], "any", false, false, false, 67)) ? (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.', 67, $this->source); })()), "album", [], "any", false, false, false, 67), "title", [], "any", false, false, false, 67), "html", null, true))) : (print ("Album photos")));
echo "</h2>
<figure class=\"bg-white slide-box mrect slide-container fill nohover relative top-40\" tabindex=\"1\">
<div class=\"fill slides radius-10 adapt\">
";
// line 70
$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.', 70, $this->source); })()), "album", [], "any", false, false, false, 70), "pictures", [], "any", false, false, false, 70));
$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 71
echo " <div class='relative slide ";
echo (((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 71), 1))) ? ("active") : (""));
echo "'>
<img src='";
// line 72
echo 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 75
echo " </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 84
echo "
";
// line 85
if (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.', 85, $this->source); })()), "flickr", [], "any", false, false, false, 85)) {
// line 86
echo " <h2 class='h3 adapt top-40 adapt'>Album photos</h2>
<div class='bg-gray w100'>
<iframe class='block-center w100 flickr-frame' src='";
// line 88
echo 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.', 88, $this->source); })()), "flickr", [], "any", false, false, false, 88), ["albums" => "sets"]), "html", null, true);
echo "/player' scrolling='no' align='middle' frameborder='0'></iframe>
</div>
";
}
// line 91
echo " </div>
\t</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Default/article.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 340 => 91, 334 => 88, 330 => 86, 328 => 85, 325 => 84, 314 => 75, 297 => 72, 292 => 71, 275 => 70, 268 => 67, 266 => 66, 263 => 65, 257 => 62, 253 => 60, 251 => 59, 248 => 58, 244 => 56, 231 => 49, 227 => 48, 220 => 44, 216 => 43, 212 => 42, 206 => 39, 200 => 35, 198 => 34, 189 => 33, 185 => 32, 180 => 31, 177 => 30, 175 => 29, 169 => 26, 165 => 25, 160 => 23, 156 => 22, 150 => 21, 144 => 20, 137 => 19, 127 => 18, 114 => 13, 104 => 12, 93 => 15, 91 => 12, 84 => 11, 74 => 10, 63 => 8, 60 => 6, 58 => 5, 56 => 4, 54 => 3, 52 => 2, 50 => 1, 37 => 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' %}
{% block titlebox %}
<div class='relative white {{desktop(\"vt-40-in\")}} {{mobile(\"\")}}'>
{% block title %}
<h1 class='h3 upper lh-1 text-center'>{{title is defined ? title}}</h1>
{% endblock title %}
</div>
{% endblock titlebox %}
{% block content %}
<div class='{{desktop(\"gpadding vt-40-in\")}} {{mobile(\"gpadding vt-30-in\")}} '>
<div class='{{desktop(\"gpadding flex row center top\")}} {{mobile(\"\")}}'>
<div id='article' class='w100 {{desktop(\"\")}} {{mobile(\"vt-20-in\")}}'>
<figure class=\"w100 {{desktop('')}}\">
<img src=\"{{asset(article.banner)}}\" class=\"block w100\"/>
</figure>
<article class='p article black {{desktop(\"top-30\")}}'>
{{ 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 {{desktop(\"top-40\")}}{{mobile(\"top-20\")}}'>
{% for o in article.biblio.files %}
<div class='doc flex row top {{desktop(\"half-20\")}} relative bg-black 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 white' data-url=\"{{url('file-read',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}\">Lire</span>
<a class='left-30 warning' href=\"{{path('file-download',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}\" 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\" 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>
\t</div>
</div>
{% endblock %}
", "Default/article.html.twig", "/home/adminroot/www/templates/Default/article.html.twig");
}
}