1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width,initial-scale=1">
6 {{ if .Desc -}}
7 <meta name="description" content="{{ .Desc }}">
8 {{- end }}
9
10 <title>{{ .Title }}</title>
11 <link rel="stylesheet" href="style.css">
12 </head>
13 <body>
14 <header>
15 <h1>{{ .Title }}</h1>
16 {{ if .Desc -}}
17 <p>{{ .Desc }}</p>
18 {{- end }}
19 </header>
20
21 <main>
22 {{ template "repos.tmpl" .Repos }}
23
24 {{ if (ne .NumPages 1) }}
25 <nav>
26 <ul class="pager">
27 {{- $page := .CurPage -}}
28 {{ range (pageRefs .) }}
29 <li><a {{ if (eq . $page) }}class="current"{{ end }} href="{{ pageName . }}">{{ . }}</a></li>
30 {{- end }}
31 </ul>
32 </nav>
33 {{ end }}
34 </main>
35 </body>
36</html>