summaryrefslogtreecommitdiffstats
path: root/templates/repo.html
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-18 20:00:19 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-18 20:00:19 +0530
commitd0d636aa89bf194185abf01e05b190386d0e8b23 (patch)
tree53f44e98b081e8fbd6823f9e7329fa3f7185ad82 /templates/repo.html
parent2e3c3103c48c748ccc8fa6b3607d51f112a9400f (diff)
downloadlegit-d0d636aa89bf194185abf01e05b190386d0e8b23.tar.gz
legit-d0d636aa89bf194185abf01e05b190386d0e8b23.tar.bz2
legit-d0d636aa89bf194185abf01e05b190386d0e8b23.zip
all: go-import, clone url
Diffstat (limited to '')
-rw-r--r--templates/repo.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/templates/repo.html b/templates/repo.html
index 687cafe..8dc5f54 100644
--- a/templates/repo.html
+++ b/templates/repo.html
@@ -25,12 +25,20 @@
</div>
{{ end }}
</div>
-
+{{- if .readme }}
<article class="readme">
<pre>
- {{- if .readme }}{{ .readme }}{{- end -}}
+ {{- .readme -}}
</pre>
</article>
+{{- end -}}
+
+ <div class="clone-url">
+ <strong>clone</strong>
+ <pre>
+git clone {{ .clone -}}
+ </pre>
+ </div>
</main>
</body>
</html>