2022-06-22 17:22:36 +00:00
|
|
|
{{ define "main" }}
|
2022-06-23 02:04:43 +00:00
|
|
|
<div class="container py-3 row">
|
2022-06-22 19:50:40 +00:00
|
|
|
<div class="container" style="width: 240px;">
|
|
|
|
<div class="p-3 col">
|
|
|
|
<ul class="nav nav-pills mb-auto">
|
|
|
|
{{ $currentPage := . }}
|
2022-12-13 00:50:56 +00:00
|
|
|
{{ range .Site.Menus.docs.ByWeight.Reverse }}
|
2022-06-22 19:50:40 +00:00
|
|
|
<li class="nav-item">
|
2022-12-13 00:50:56 +00:00
|
|
|
<a href="{{ .URL }}" class="nav-link">
|
2022-12-13 18:02:44 +00:00
|
|
|
<strong>{{ .Title }}</strong>
|
2022-06-22 19:50:40 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
2022-12-13 00:50:56 +00:00
|
|
|
{{ if .Children }}
|
2022-12-13 18:02:44 +00:00
|
|
|
<ul style="list-style: none;">
|
2022-12-13 00:50:56 +00:00
|
|
|
{{ range .Children }}
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ .URL }}" class="nav-link">
|
|
|
|
{{ .Title }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
2022-06-22 19:50:40 +00:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2022-06-22 17:22:36 +00:00
|
|
|
</div>
|
2022-12-10 18:54:08 +00:00
|
|
|
<div class="col" style="max-width: 80em; margin: auto;">
|
2022-06-22 19:50:40 +00:00
|
|
|
<div>
|
|
|
|
<h1>{{ .Title }}</h1>
|
2022-12-13 00:50:56 +00:00
|
|
|
{{ if .Description }}
|
|
|
|
<p><i>{{ .Description }}</i></p>
|
|
|
|
{{ end}}
|
2022-06-22 19:50:40 +00:00
|
|
|
{{.Content}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-22 17:22:36 +00:00
|
|
|
{{ end }}
|
|
|
|
|