summaryrefslogtreecommitdiffstats
path: root/templates/repo.html
diff options
context:
space:
mode:
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>