gitssg/templates/index.html.tmpl

39 lines
1 KiB
Cheetah
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
2024-06-29 19:48:15 +01:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Repositories</title>
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
2024-06-29 19:48:15 +01:00
<table>
<tr><td><img src="logo.png" alt="" width="32" height="32" /></td>
<td><span class="desc">Repositories</span></td></tr><tr><td></td><td>
</td></tr>
</table>
<hr/>
<div id="content">
<table id="index"><thead>
<tr>
<td><b>Name</b></td>
<td><b>Description</b></td>
<td><b>Owner</b></td>
<td><b>Last commit</b></td>
</tr>
</thead>
<tbody>
{{- range .repoDirs}}
<tr>
<td><a href="{{.Name}}/log.html">{{.Name}}</a></td>
<td>{{.Description}}</td>
<td>{{.Owner}}</td>
<td>{{.LastCommit}}</td>
</tr>
{{- end}}
</tbody>
</table>
</div>
</body>
</html>