mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-30 16:38:31 +02:00
* changed docs sidebar and breadcrumbs so it would work with subsections as well * buttons to switch between qdrant and cloud documentation * changed a link for editting on github for cloud doc pages * docs auto-sync * bold text on an active button * update of sync script * docs auto-sync * temporary use other branch for sync * temporary use other branch for sync * temporary use other branch for sync * temporary use other branch for sync * docs auto-sync * temporary use other branch for sync * temporary use other branch for sync * temporary use other branch for sync * docs auto-sync * styles * docs auto-sync Co-authored-by: qdrant <qdrant@users.noreply.github.com> Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
16 lines
563 B
HTML
16 lines
563 B
HTML
<ul class="breadcrumbs">
|
|
<li class="breadcrumbs__crumb"><a href="/"><i class="flaticon-home small"></i> Home</a></li>
|
|
{{ $rellink := "" }}
|
|
{{ $paths := (split .RelPermalink "/") }}
|
|
{{ $len := sub (len $paths) 2 }}
|
|
{{ range first $len $paths }}
|
|
{{ if gt (len . ) 0 }}
|
|
{{ $rellink = printf "%s/%s" $rellink . }}
|
|
/
|
|
<li class="breadcrumbs__crumb"><a href="{{$rellink}}">{{ humanize . }}</a></li>
|
|
{{ end }}
|
|
{{ end }}
|
|
/
|
|
<li class="breadcrumbs__crumb">{{ .Params.title | safeHTML }}</li>
|
|
</ul>
|