{% extends "base.html" %} {% from "macros.html" import trip_link, conference_row with context %} {% block title %}Conferences - Edward Betts{% endblock %} {% block style %} {% set column_count = 9 %} {% endblock %} {% macro section(heading, item_list, badge) %} {% if item_list %}

{{ heading }}

{% for item in item_list %} {{ conference_row(item, badge) }}
{% if item.linked_trip %} trip: {{ trip_link(item.linked_trip) }} {% endif %}
{% endfor %} {% endif %} {% endmacro %} {% block content %}

Conferences

{{ section("Current", current, "attending") }} {{ section("Future", future, "going") }} {{ section("Past", past|reverse|list, "went") }}
{% endblock %}