aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDylan Garrett <dylan.garrett@gmail.com>2021-06-06 15:12:58 -0700
committerDylan Garrett <dylan.garrett@gmail.com>2021-06-06 15:12:58 -0700
commite92870d42beaa1a01ab48a60cb322efa95e399bc (patch)
tree8a2a204a411f4077954d3b634039eeea28fc9388 /templates
parent53d8bcb0c29f5e7a8492ad715ca25930f997f352 (diff)
downloadroka-e92870d42beaa1a01ab48a60cb322efa95e399bc.tar.gz
roka-e92870d42beaa1a01ab48a60cb322efa95e399bc.zip
Some hacks. But generates some static rss feeds
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
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>