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,12 @@
{{- $group := printf "tabs-%v" .Parent.Ordinal -}}
{{- $tab := printf "%s-%d" $group .Ordinal -}}
<input type="radio" class="toggle" name="{{ $group }}" id="{{ $tab }}" {{ if not .Ordinal }}checked="checked"{{ end }} />
{{- /* remove whitespaces */ -}}
<label for="{{ $tab }}">
{{- .Get 0 -}}
</label>
{{- /* remove whitespaces */ -}}
<div class="book-tabs-content markdown-inner">
{{ .Inner -}}
</div>
{{- /* remove whitespaces */ -}}