Add embedded templates and a test index template
This commit is contained in:
parent
847f5a0629
commit
8be57baa83
4 changed files with 62 additions and 6 deletions
13
templates/index.html.tmpl
Normal file
13
templates/index.html.tmpl
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h3>Repositories</h3>
|
||||
{{- range .repoDirs}}
|
||||
<p>{{ .Name }} :: {{.Owner}} :: {{.Description}} :: {{.LastCommit}}</p>
|
||||
{{- end}}
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue