diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-22 04:09:18 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-22 04:09:18 -0600 |
commit | a88d3091ed0df6b4821688cca653b7fdef3a03d7 (patch) | |
tree | c0bced3aa70cf61ff8d4bb56bab565a065e9bc80 /templates/index.html | |
parent | 8c1666c1a64201f8a12e125e3c63a83f4dbf7069 (diff) | |
download | gityeet-a88d3091ed0df6b4821688cca653b7fdef3a03d7.tar.gz gityeet-a88d3091ed0df6b4821688cca653b7fdef3a03d7.zip |
correctly find repos in subdirectories
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 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> |