all repos — elgit @ d0d636aa89bf194185abf01e05b190386d0e8b23

fork of legit: web frontend for git, written in go

all: go-import, clone url

commit

d0d636aa89bf194185abf01e05b190386d0e8b23

parent

2e3c3103c48c748ccc8fa6b3607d51f112a9400f

1 file changed, 10 insertions(+), 2 deletions(-)

changed files
M templates/repo.htmltemplates/repo.html
@@ -25,12 +25,20 @@ <div>{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</div>
</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>