all: go-import, clone url
1 file changed, 10 insertions(+), 2 deletions(-)
changed files
M templates/repo.html → templates/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>