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

{{ heading }}

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

Conferences

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