summaryrefslogtreecommitdiffstats
path: root/templates/repo.html
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-12 20:53:44 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-12 20:53:44 +0530
commit7d99afc5cd3ddfc7a875754f4593812b8c2664c8 (patch)
tree3aacd1f8f1b45e38f4d378d1df8eeb13f7e213ba /templates/repo.html
parentf04137f841de6fefe4c79fedeb718b252a3b2958 (diff)
downloadlegit-7d99afc5cd3ddfc7a875754f4593812b8c2664c8.tar.gz
legit-7d99afc5cd3ddfc7a875754f4593812b8c2664c8.tar.bz2
legit-7d99afc5cd3ddfc7a875754f4593812b8c2664c8.zip
templates: fix 404 and 500
Diffstat (limited to 'templates/repo.html')
-rw-r--r--templates/repo.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/repo.html b/templates/repo.html
index 3c99df5..a033f0d 100644
--- a/templates/repo.html
+++ b/templates/repo.html
@@ -44,6 +44,11 @@
{{ end }}
{{ end }}
</table>
+ <article>
+ <pre>
+ {{- if .readme }}{{ .readme }}{{- end -}}
+ </pre>
+ </article>
</main>
</body>
</html>