readded hugo-book theme files.

This commit is contained in:
2026-04-24 14:36:57 -06:00
parent 52f57401dc
commit bb5dad65bf
261 changed files with 13848 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
{{ define "main" }}
{{ range sort .Paginator.Pages }}
<article class="markdown book-post">
<h2>
<a href="{{ .RelPermalink }}">{{ partial "docs/title" . }}</a>
</h2>
{{ partial "docs/post-meta" . }}
<div class="book-post-content">
{{- .Summary -}}
</div>
</article>
{{ end }}
{{ partial "pagination.html" . }}
{{ end }}
{{ define "toc-container" }}
<aside class="book-toc">
<div class="book-toc-content">
{{ template "toc" . }}
</div>
</aside>
{{ end }}
{{ define "toc" }}
{{ partial "docs/taxonomy" . }}
{{ end }}