diff --git a/pywb/templates/index.html b/pywb/templates/index.html
index fa2c2a4f..ae1456ce 100644
--- a/pywb/templates/index.html
+++ b/pywb/templates/index.html
@@ -7,15 +7,14 @@ This archive contains the following collections:
{% for route in routes %}
- {% if route | is_wb_handler %}
-
- {{ '/' + route.path }}
- {% if route.user_metadata.title is defined %}
- ({{ route.user_metadata.title }})
+ {{ '/' + route }}
+ {% if all_metadata and all_metadata[route] %}
+ ({{ all_metadata[route].title }})
{% endif %}
- {% endif %}
{% endfor %}
+