diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index c05ff8e..4e6998d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -35,7 +35,7 @@ </tr> {% for b, v in books.items() %} <tr> - <td><a href="?a={{ b }}">{{ v['title']|escape }}</a></td> + <td><a href="{{'?a=' if not static else '/'}}{{ b }}{{'.xml' if static}}">{{ v['title']|escape }}</a></td> <td>{{ v['path']|escape }}</td> <td>{{ v['files']|length }}</td> <td>{{ v['duration_str'] }}</td> |