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

Your files:

{% for item in fn %}

{{item.split("/")[-1]}}

{% endfor %} {% endblock %}