{% extends "base.html" %} {% block body_class %}catalogue{% endblock %} {% block body %} script.flf {% for type, type_data in collection.items()%} {{type}} {% for database in databases.keys() %} {% set fonts = type_data['fonts']|selectattr('database', 'equalto', database) %} {% for f in fonts %} {{f['name']}} {% endfor %} {% endfor %} {% endfor %} {% for database, legend in databases.items() %} {{database}} {{legend}} {% endfor %} generate uppercase weight