mauflix/source/templates/home.html

19 lines
609 B
HTML

{% extends "base.html" %}
{% block content %}
{% for section, content in sections.items %}
{% if section != "genders"%}
{% 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 %}
{% else %}
{% for gender, val in content.items %}
{% include 'section.html' with gender=True section=gender content=val %}
{% endfor %}
{% endif %}
{% endfor %}
{% endblock %}