diff --git a/templates/index.html b/templates/index.html index 7025db0..70f3d4c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,126 +1,215 @@ {% macro dirlisting(dir, path='') -%} -
| Type | +Title | +Url/Path | +Action | +
|---|---|---|---|
| {{ m['type'] }} | ++ {% if 'title' in m %} + ({{ m['title'] }}) + {% else %} + No title + {% endif %} + | ++ {% if 'url' in m %} + ({{ m['url'] }}) + {% elif 'path' in m %} + ({{ m['path'] }}) + {% endif %} + | +
+ |
+