Fix: remove submodule

This commit is contained in:
psychhim
2025-11-11 18:07:05 +05:30
parent ea7284b910
commit 27a08b46f6
111 changed files with 4844 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
{{ $tocAvailable := gt (len .TableOfContents) 32 }} {{- /* length of empty TOC is 32 */ -}}
{{ $tocEnabled := default site.Params.toc .Params.toc }}
{{ $tocFolded := default site.Params.tocFolded .Params.tocFolded }}
{{ $tocStatus := "" }} {{- /* folded by default */ -}}
{{ if eq $tocFolded false }}
{{ $tocStatus = " open" }}
{{ end }}
{{ if and $tocEnabled $tocAvailable }}
<details class="toc"{{ $tocStatus | safeHTMLAttr }}>
<summary class="toc__summary">{{ i18n "tableOfContents" }}</summary>
{{ .TableOfContents }}
</details>
{{ end }}