2020-12-05 19:38:14 -06:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
2022-11-17 17:51:43 -06:00
|
|
|
{% for section, content in sections.items %}
|
|
|
|
{% if section != "genders"%}
|
2023-01-20 16:01:45 -06:00
|
|
|
{% if section == 'Más descargados' %}
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
{% include 'section.html' with section=section content=content %}
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
{% include 'section.html' with section=section content=content %}
|
|
|
|
{% endif %}
|
2022-11-17 17:51:43 -06:00
|
|
|
{% else %}
|
|
|
|
{% for gender, val in content.items %}
|
2022-12-08 20:18:26 -06:00
|
|
|
{% include 'section.html' with gender=True section=gender content=val %}
|
2022-11-17 17:51:43 -06:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2020-12-05 19:38:14 -06:00
|
|
|
{% endblock %}
|