mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 16:14:05 +00:00
refactor: ToC hooks
This commit is contained in:
1 parent
5529404d19
commit
f4b96e1432
3 files changed
+3
-1
No files matched your search
@@ -13,13 +13,15 @@
|
||||
{{/* Show ToC by default. */}}
|
||||
{{ if ne .Params.toc false }}
|
||||
<div class="d-none d-xl-block col-xl-2 docs-toc">
|
||||
{{ partial "hooks/page_toc_start" . }}
|
||||
|
||||
<ul class="nav toc-top">
|
||||
<li><a href="#" id="back_to_top" class="docs-toc-title">{{ i18n "on_this_page" }}</a></li>
|
||||
</ul>
|
||||
|
||||
{{ .TableOfContents }}
|
||||
|
||||
{{ partial "docs_toc_foot" . }}
|
||||
{{ partial "hooks/page_toc_end" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
||||
File renamed without changes.
Whitespace-only changes.
Reference in new issue
Block a user