diff --git a/themes/intotheeast/templates/gpx-manager.html.twig b/themes/intotheeast/templates/gpx-manager.html.twig new file mode 100644 index 0000000..749ea69 --- /dev/null +++ b/themes/intotheeast/templates/gpx-manager.html.twig @@ -0,0 +1,53 @@ +{% extends 'partials/base.html.twig' %} + +{% block content %} +{% set trips_page = grav.pages.find('/trips') %} +{% set trips = trips_page ? trips_page.children.published() : [] %} + +
+

GPX Files

+ + {% if trips is empty %} +

No trips found.

+ {% else %} + {% for trip in trips %} +
+

{{ trip.title }}

+
+

Loading…

+
+
+ + + +
+
+ {% endfor %} + {% endif %} +
+ + + + + +{% endblock %}