aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-22 04:09:18 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-22 04:09:18 -0600
commita88d3091ed0df6b4821688cca653b7fdef3a03d7 (patch)
treec0bced3aa70cf61ff8d4bb56bab565a065e9bc80 /templates/index.html
parent8c1666c1a64201f8a12e125e3c63a83f4dbf7069 (diff)
downloadgityeet-a88d3091ed0df6b4821688cca653b7fdef3a03d7.tar.gz
gityeet-a88d3091ed0df6b4821688cca653b7fdef3a03d7.zip
correctly find repos in subdirectories
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 00ccd55..302c11e 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -11,7 +11,7 @@
<h1>hi this is gityeet</h1>
<ul>
{% for repo in state.data %}
- <li>{{ repo.path().display() }}</li>
+ <li><a href="/{{ state.relative_path(repo.path()).display() }}">{{ state.relative_path(repo.path()).display() }}</a></li>
{% endfor %}
</ul>
</body>