{% extends "base.html" %} {% from "macros.html" import trip_link, display_date_no_year, display_date, conference_row, accommodation_row, flight_row, train_row, ferry_row with context %} {% set row = { "flight": flight_row, "train": train_row, "ferry": ferry_row } %} {% block title %}Trips - Edward Betts{% endblock %} {% block style %} {% set conference_column_count = 8 %} {% set accommodation_column_count = 8 %} {% set travel_column_count = 10 %} {% endblock %} {% macro section(heading, item_list, badge) %} {% if item_list %} {% set items = item_list | list %}
{{ items | count }} trips
{% for trip in items %} {% set total_distance = trip.total_distance() %} {% set end = trip.end %}