diff options
author | Dylan Garrett <dylan.garrett@gmail.com> | 2021-06-06 15:12:58 -0700 |
---|---|---|
committer | Dylan Garrett <dylan.garrett@gmail.com> | 2021-06-06 15:12:58 -0700 |
commit | e92870d42beaa1a01ab48a60cb322efa95e399bc (patch) | |
tree | 8a2a204a411f4077954d3b634039eeea28fc9388 /templates | |
parent | 53d8bcb0c29f5e7a8492ad715ca25930f997f352 (diff) | |
download | roka-e92870d42beaa1a01ab48a60cb322efa95e399bc.tar.gz roka-e92870d42beaa1a01ab48a60cb322efa95e399bc.zip |
Some hacks. But generates some static rss feeds
Diffstat (limited to 'templates')
-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> |