26 lines
476 B
HTML
26 lines
476 B
HTML
{{ define "index" }}
|
|
<html>
|
|
{{ template "head" . }}
|
|
|
|
<title>
|
|
{{ .meta.Title }}
|
|
</title>
|
|
|
|
<header>
|
|
<h1>{{ .meta.Title }}</h1>
|
|
<h2>{{ .meta.Description }}</h2>
|
|
</header>
|
|
<body>
|
|
<main>
|
|
<div class="index">
|
|
{{ range .info }}
|
|
<div class="index-name"><a href="/{{ .Name }}">{{ .Name }}</a></div>
|
|
<div class="desc">{{ .Desc }}</div>
|
|
<div>{{ .Idle }}</div>
|
|
{{ end }}
|
|
</div>
|
|
</main>
|
|
</body>
|
|
</html>
|
|
{{ end }}
|