{% extends 'base.html' %} {% block content %} <div class="container"> <h2>Faccets of {{current_user.username}}</h2> <ul> {% for light in faccet %} <li><a href="{{ url_for('details', light=light.name )}}">{{ light.name }}</a> </li> {% endfor %} </ul> </div> {% endblock %}