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