legit/templates/index.html

29 lines
520 B
HTML
Raw Normal View History

2022-12-12 16:03:09 +00:00
{{ define "index" }}
<html>
{{ template "head" . }}
2022-12-18 05:44:38 +00:00
<title>
{{ .meta.Title }}
</title>
2023-02-04 16:34:21 +00:00
2022-12-12 16:03:09 +00:00
<body>
2023-02-04 16:34:21 +00:00
<header>
<h1>{{ .meta.Title }}</h1>
<h2>{{ .meta.Description }}</h2>
</header>
2022-12-12 16:03:09 +00:00
<main>
2022-12-17 07:17:54 +00:00
<div class="index">
2022-12-17 07:16:09 +00:00
{{ range .info }}
<div class="index-name"><a href="/{{ .Name }}">{{ .Name }}</a></div>
2022-12-17 16:03:04 +00:00
<div class="desc">{{ .Desc }}</div>
2022-12-17 07:16:09 +00:00
<div>{{ .Idle }}</div>
{{ end }}
</div>
2022-12-12 16:03:09 +00:00
</main>
2023-02-04 16:34:21 +00:00
{{ template "footer" .meta }}
2022-12-12 16:03:09 +00:00
</body>
2023-02-04 16:34:21 +00:00
2022-12-12 16:03:09 +00:00
</html>
{{ end }}