{% extends 'base.html' %} {% block content %}

{% block title %} Welcome to grgr's library {% endblock %}

+
{% for category, cards in categories.items() %} {% for card in cards %}
{{ category }}
{% if card['topics'] %}
{% for topic in card['topics'] %} {{ topic['content'] }} {% endfor %}
{% endif %}
{{ card['content'] }}
{% endfor %} {% endfor %}
{% endblock %}