{% extends 'base.html' %} {% block pagetitle %} File più ascoltati {% if discord %}di {{ discord }}{% endif %} {% endblock %} {% block body %} <h1> File più ascoltati {% if discord %}di {{ discord }}{% endif %} </h1> <table> <thead> <tr> <th>File</th> <th>Conteggio</th> </tr> </thead> <tbody> {% for song in songs %} <tr> <td>{{ song[0] }}</td> <td>{{ song[1] }}</td> </tr> {% endfor %} </tbody> </table> {% endblock %}