mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-01 00:48:32 +02:00
removed deprecated conditions in the TOC template
This commit is contained in:
@@ -4,12 +4,8 @@
|
|||||||
{{ $sectionLink := cond .IsSection .RelPermalink .Parent.RelPermalink }}
|
{{ $sectionLink := cond .IsSection .RelPermalink .Parent.RelPermalink }}
|
||||||
{{ $subject := site.GetPage $sectionLink }}
|
{{ $subject := site.GetPage $sectionLink }}
|
||||||
<div class="sticky-top">
|
<div class="sticky-top">
|
||||||
{{ range $subject.RegularPages }}
|
|
||||||
{{ if eq .File.UniqueID $currentNode.File.UniqueID }}
|
|
||||||
<h5 class="tableOfContent__header">Table of contents</h5>
|
<h5 class="tableOfContent__header">Table of contents</h5>
|
||||||
{{ .TableOfContents }}
|
{{ .TableOfContents }}
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user