var/cache/dev/twig/f0/f09f181eb251b8749477159e028cc9fe.php line 71
<?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/articles.html.twig */class __TwigTemplate_757c07773c7a4d68059a586794471c8e 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 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/articles.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/articles.html.twig"));// line 1$context["title"] = (((isset($context["cat"]) || array_key_exists("cat", $context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.', 1, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["cat"]) || array_key_exists("cat", $context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.', 1, $this->source); })()), "name", [], "any", false, false, false, 1)) : ("Publications"));// line 2$context["iconColor"] = "#1F4878";// line 3$context["titleColor"] = "#ffffff";// line 4$context["bgColor"] = "#81B0B1";// line 5$context["menu"] = "articles";// line 6$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig", "Default/articles.html.twig", 6)->unwrap();// line 8$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/articles.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 10public 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 11echo "<div class='bg-white ";echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("gpadding top-80-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-40-in hz-20-in"), "html", null, true);echo " '>\t";// line 16echo "\t<div class='w100 articles ";echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-70 top-6-in"), "html", null, true);echo "'>\t\t<div class='w100 ";// line 17echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(" flex row space wrap vt-30-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);echo "'>\t\t\t";// line 18$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.', 18, $this->source); })()));$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 19echo "\t\t\t";echo twig_call_macro($macros["macros"], "macro_article", [$context["o"], twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 19)], 19, $context, $this->getSourceContext());echo "\t\t\t";++$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 21echo "\t\t</div></div><div class='";// line 23echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("gpadding vt-30-in"), "html", null, true);echo " ";echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("padding-20"), "html", null, true);echo "'>";// line 24$this->loadTemplate("Default/counter.html.twig", "Default/articles.html.twig", 24)->display(twig_array_merge($context, ["expanded" => true]));// line 25echo " </div></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "Default/articles.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 145 => 25, 143 => 24, 137 => 23, 133 => 21, 116 => 19, 99 => 18, 93 => 17, 88 => 16, 81 => 11, 71 => 10, 60 => 8, 58 => 6, 56 => 5, 54 => 4, 52 => 3, 50 => 2, 48 => 1, 35 => 8,);}public function getSourceContext(){return new Source("{% set title = cat ? cat.name : \"Publications\" %}{% set iconColor = \"#1F4878\" %}{% set titleColor = \"#ffffff\" %}{% set bgColor = \"#81B0B1\" %}{% set menu = 'articles' %}{% import \"Default/macros.html.twig\" as macros %}{% extends 'Default/base.html.twig' %}{% block content %}<div class='bg-white {{desktop(\"gpadding top-80-in\")}} {{mobile(\"top-40-in hz-20-in\")}} '>\t{#{% set list = [{'id':1,'slug':'azerty','title' : \"Le Directeur Général de l'ASIN sur The Voice Of Africa\", \"description\":\"Le Directeur Général de l'Agence des Systèmes d'Information et du Numérique (ASIN), Monsieur Marc-André AkinOlu LOKO était l'invité ce lundi 13 février 2023 de la web radio tunisienne « The Voice of Africa ».\", 'banner':\"images/art1.png\"}] %}\t{% set list = list|merge([{'id':1,'slug':'azerty','title' : 'Magazine Benin Numérique N°001 - Février 2023',\"description\":\"Découvrez le premier numéro de BENIN NUMERIQUE le magazine d'information dédié au secteur du numérique au Bénin.\", 'banner':\"images/art2.jpg\"}]) %}\t{% set list = list|merge([{'id':1,'slug':'azerty','title' : \"Dixième Conférence des DSI\",'description' : \"L'Agence des Systèmes d’Information et du Numérique (ASIN) à travers son pôle Systèmes d’Information et Digitalisation a organisé le mardi 29 novembre 2022, la dixième Conférence des Directeurs des Systèmes d’Information (CDSI)...\", 'banner':\"images/art3.jpg\"}]) %}\t#}\t<div class='w100 articles {{desktop(\"top-70 top-6-in\")}}'>\t\t<div class='w100 {{desktop(\" flex row space wrap vt-30-in\")}} {{mobile(\"\")}}'>\t\t\t{% for o in list %}\t\t\t{{macros.article(o, loop.last )}}\t\t\t{%endfor%}\t\t</div></div><div class='{{desktop(\"gpadding vt-30-in\")}} {{mobile(\"padding-20\")}}'>{% include (\"Default/counter.html.twig\") with {expanded:true} %}</div></div>{% endblock %}", "Default/articles.html.twig", "/home/olasoftnka/asin/templates/Default/articles.html.twig");}}