{% extends "base.html" %} {% from "macros.html" import trip_link, display_date_no_year, display_date, display_datetime, display_time, format_distance with context %} {% block title %}{{ heading }} - Edward Betts{% endblock %} {% block style %} {% endblock %} {% macro section(heading, item_list) %} {% if item_list %} {% set items = item_list | list %}
{{ items | count }} trips
{{ e.detail | pprint }}#} {% endif %} {% if e.detail.distance %} distance: {{ format_distance(e.detail.distance) }} {% endif %} {% if e.element_type == "flight" %} flightradar24 | FlightAware | radarbox {% endif %}
Topic: {{ item.topic }} | Venue: {{ item.venue }} | Location: {{ item.location }} {% if country %} {{ country.flag }} {% elif item.online %} 💻 Online {% else %} country code {{ item.country }} not found {% endif %} {% if item.free %} | free to attend {% elif item.price and item.currency %} | price: {{ item.price }} {{ item.currency }} {% endif %}