{% extends "components/layout.html" %} {% macro project_list(title, projects) %} {{ title }} {% for project in projects %} {{ project.title }} View {% if project.id in short_listings %} Shortlist {% else %} Shortlist {% endif %} {% endfor %} {% endmacro %} {% block content %}