{% set ns = namespace() -%} {% include 'head.html' with context %}

AAC Results: Top Athletes by Race Mileage{% if year %} in {{ year }}{% endif %}

{% if results -%} {%- set ns.total = 0 -%} {%- if 'count' in results -%} {%- set ns.total = results['count'] -%} {%- endif -%} {%- for row in results['rows'] -%} {%- endfor -%}
Name Distance
Name {{ row.person|trim|e }} Distance {{ row.total|e }}
{%- endif %}