blob: 0be57313df490d6b83917721217e30009cdee9f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{{ define "main" }}
<section class="mx-auto px-4 py-12 max-w-7xl">
<div class="content-grid lg:grid lg:grid-cols-[16rem_minmax(0,1fr)] lg:gap-10">
{{ partial "docs-nav.html" . }}
<div class="min-w-0">
{{ partial "breadcrumb.html" . }}
<h1 class="text-4xl md:text-5xl font-bold mb-8 text-accent font-oxanium">{{ .Title }}</h1>
{{ with .Content }}
<div class="prose dark:prose-invert max-w-none mb-12">{{ . }}</div>
{{ end }}
<ul class="space-y-6">
{{ range .Pages.ByWeight }}
<li>
<a href="{{ .RelPermalink }}" class="text-xl text-accent font-oxanium">{{ .Title }}</a>
{{ with .Description }}<p class="text-text-dim">{{ . }}</p>{{ end }}
</li>
{{ end }}
</ul>
</div>
</div>
</section>
{{ end }}
|