2021-08-11 13:07:28 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang=en>
|
|
|
|
<meta name=viewport content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.3/new.min.css>
|
|
|
|
<title>Short URLs</title>
|
|
|
|
<h1>Short URLs</h1>
|
2021-08-11 13:16:52 +00:00
|
|
|
<table style="white-space:nowrap;overflow-x:auto;display:block;">
|
2021-08-11 13:07:28 +00:00
|
|
|
<thead>
|
2021-08-11 13:16:52 +00:00
|
|
|
<tr><th>slug</th><th>hits</th><th>url</th></tr>
|
2021-08-11 13:07:28 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2021-08-11 13:16:52 +00:00
|
|
|
{{range .}}<tr><td>{{.Slug}}</td><td>{{.Hits}}</td><td>{{.URL}}</td></tr>{{end}}
|
2021-08-11 13:07:28 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</html>
|