Merge pull request #2053 from qdrant/course/multi-vector-search

Course: multi vector search
This commit is contained in:
kanungle
2026-03-24 08:29:23 -07:00
committed by GitHub
88 changed files with 4109 additions and 15 deletions
@@ -21,7 +21,7 @@
<div class="d-flex justify-content-lg-end pb-3 pt-4">
{{/* Determine the course section */}}
{{ $subject := "" }}
{{ if eq .Params.isLesson true }}
{{ if .IsSection }}
{{/* Current page is a lesson (_index.md), parent is the course section */}}
{{ $subject = .Parent }}
{{ else }}
@@ -40,7 +40,19 @@
{{ end }}
{{ if or (eq $currentNode.Params.isLesson true) (eq $currentNode.Parent.Params.isLesson true) }}
{{ $allLessons := where $subject.Pages ".Params.isLesson" true }}
{{ $allLessons := slice }}
{{ range $subject.Pages }}
{{ if .Params.isLesson }}
{{ $allLessons = $allLessons | append . }}
{{ end }}
{{ if .IsSection }}
{{ range .Pages }}
{{ if .Params.isLesson }}
{{ $allLessons = $allLessons | append . }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ $total := len $allLessons }}
{{ if $total }}