dir.tpl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{{template "prelude.tpl.html" .}}
<title>{{.DirName}} - Senary</title>
</head>
<body>
<header class="container-fluid">
{{ template "header.tpl.html" .}}
</header>
<main class="container-fluid repomain">
{{template "repomenu.tpl.html" .}}
<div>
{{ $length := len .Breadcrumbs }} {{ if ne $length 0 }}
<nav aria-label="breadcrumb">
<ul>
{{range .Breadcrumbs}}
<li><a href="{{.Val}}">{{.Key}}</a></li>
{{end}}
<li>{{.Filename}}</li>
</ul>
</nav>
{{end}}
<h2>{{.Title}}</h2>
{{.Table}}
</div>
</main>
<footer>
</footer>
</body>
</html>
|