summaryrefslogtreecommitdiffstats
path: root/layouts/index.json
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/index.json
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/index.json')
-rw-r--r--layouts/index.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/index.json b/layouts/index.json
index 891641a..778d1ba 100644
--- a/layouts/index.json
+++ b/layouts/index.json
@@ -1,6 +1,7 @@
{{- $articles := where .Site.RegularPages "Section" "articles" -}}
{{- $projects := where .Site.RegularPages "Section" "slackware" -}}
-{{- $articles = ($articles | append $projects).ByDate.Reverse -}}
+{{- $docs := where .Site.RegularPages "Section" "hardenedpass" -}}
+{{- $articles = ($articles | append $projects | append $docs).ByDate.Reverse -}}
[
{{- range $index, $article := $articles -}}
{