{% extends "base.html" %} {% from "macros.html" import flight_row, train_row with context %} {% block style %} {% endblock %} {% block content %}

Travel

flights

date
route
take-off
land
duration
flight
reference
tracking
{% for item in flights | sort(attribute="depart") %} {{ flight_row(item) }} {% endfor %}

trains

date
route
depart
arrive
duration
operator
reference
{% for item in trains | sort(attribute="depart") %} {{ train_row(item) }} {% endfor %}
{% endblock %}