var/cache/dev/twig/d1/d12365a0a8fa4d458b36dcad7b6c75e9.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/resources.html.twig */
class __TwigTemplate_c4f6668864a5a0d55d2c68614b8d0ef0 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/resources.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/resources.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); })()), "label", [], "any", false, false, false, 1)) : ("Documents"));
// line 2
$context["menu"] = "articles";
// line 3
$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Default/macros.html.twig", "Default/resources.html.twig", 3)->unwrap();
// line 4
$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/resources.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"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()(""), "html", null, true);
echo " '>
<div class='gpadding flex row space wrap ";
// line 8
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("top-40"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("top-20"), "html", null, true);
echo "'>
";
// line 9
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 9));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 10
echo " ";
$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 " ";
echo twig_call_macro($macros["macros"], "macro_doc", [$context["o"]], 11, $context, $this->getSourceContext());
echo "
";
}
$_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 " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 14
echo " </div>
<div class='gpadding ";
// line 15
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("bottom-50-in"), "html", null, true);
echo "'>
";
// line 16
$this->loadTemplate("Default/counter.html.twig", "Default/resources.html.twig", 16)->display(twig_array_merge($context, ["expanded" => true]));
// line 17
echo " </div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Default/resources.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 121 => 17, 119 => 16, 115 => 15, 112 => 14, 106 => 13, 97 => 11, 92 => 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 = cat ? cat.label : 'Documents' %}
{% set menu = 'articles' %}
{% import \"Default/macros.html.twig\" as macros %}
{% extends 'Default/base.html.twig' %}
{% block content %}
<div class='bg-white {{desktop(\"hz-50\")}} {{mobile(\"\")}} '>
<div class='gpadding flex row space wrap {{desktop(\"top-40\")}} {{mobile(\"top-20\")}}'>
{% for i in 1..9 %}
{% for o in list %}
{{ macros.doc(o) }}
{% endfor %}
{% endfor %}
</div>
<div class='gpadding {{desktop(\"bottom-50-in\")}}'>
{% include (\"Default/counter.html.twig\") with {expanded:true} %}
</div>
</div>
{% endblock %}
", "Default/resources.html.twig", "/home/olasoftnka/asin/templates/Default/resources.html.twig");
}
}