summaryrefslogtreecommitdiffstats
path: root/layouts/hardenedpass/list.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-05 10:09:22 +0100
committerDanilo M. <danix@danix.xyz>2026-11-05 10:09:22 +0100
commit2cbd791c7a90b1e88718c4caab155c1ffe29619d (patch)
tree4fed10ad3629a4e12d60e74fb4357c0e3db4091b /layouts/hardenedpass/list.html
parent49635ab3e84106c189596a941f77eded2dd74449 (diff)
downloaddanixxyz-theme-2cbd791c7a90b1e88718c4caab155c1ffe29619d.tar.gz
danixxyz-theme-2cbd791c7a90b1e88718c4caab155c1ffe29619d.zip
feat: add layouts for the HardenedPass docs section
Sidebar with the page tree and table of contents, collapsing into native details elements on mobile, and prev/next links that follow one reading order across subsections. The section joins the search index. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'layouts/hardenedpass/list.html')
-rw-r--r--layouts/hardenedpass/list.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/hardenedpass/list.html b/layouts/hardenedpass/list.html
new file mode 100644
index 0000000..0be5731
--- /dev/null
+++ b/layouts/hardenedpass/list.html
@@ -0,0 +1,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 }}