aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2021-06-16 03:04:08 -0700
committerGitHub <noreply@github.com>2021-06-16 03:04:08 -0700
commit90e0edf9865fab9822864d1f00d36c4e28a91847 (patch)
tree2cad90e05483e1b9eeeff827739b41244266938b /templates/index.html
parent4cd0884b307e28bd9f2e531c41fb7b41600b02a4 (diff)
parente7f4b527e2ee2cbae9f7a53f2a8100fa40bc9138 (diff)
downloadroka-90e0edf9865fab9822864d1f00d36c4e28a91847.tar.gz
roka-90e0edf9865fab9822864d1f00d36c4e28a91847.zip
Merge pull request #3 from dgarrett/static-generation
Static generation
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index a31b763..bac87d2 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -38,7 +38,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['author'] }}</td>
{% if show_path %}
<td>{{ v['path']|escape }}</td>