diff --git a/_bin/route-db.py b/_bin/route-db.py index 7505655..b149e7a 100644 --- a/_bin/route-db.py +++ b/_bin/route-db.py @@ -143,6 +143,7 @@ def main(): f.write(f" end: \"{route['end']}\"\n") f.write(f" type: \"{route['type']}\"\n") f.write(f" map: \"{route['map']}\"\n") + f.write(f" gpx: \"/routes/gpx/{route['id']}.gpx\"\n") if route['deprecated']: f.write(f" deprecated: true\n") f.write('\n') diff --git a/_includes/schedule_table.html b/_includes/schedule_table.html index 392dd61..dfd1de5 100644 --- a/_includes/schedule_table.html +++ b/_includes/schedule_table.html @@ -50,6 +50,9 @@ {{ route.name }} {% if route.map %}{% endif %} {% if route.dist %}  ({{ route.dist | round: 1}}){% endif %} + {% if route.gpx %} +   + {% endif %} {% if plan.notes %}