Files
landing_page/qdrant-landing/themes/qdrant/layouts/partials/breadcrumbs.html
T
ef072cce34 Subsection for cloud documentation (#98)
* 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>
2022-12-12 15:20:34 +01:00

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 . }}
&nbsp;/&nbsp;
<li class="breadcrumbs__crumb"><a href="{{$rellink}}">{{ humanize . }}</a></li>
{{ end }}
{{ end }}
&nbsp;/&nbsp;
<li class="breadcrumbs__crumb">{{ .Params.title | safeHTML }}</li>
</ul>