mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
* new blog layout WIP * contact form - compact variant, some hero section styles * pagination style * post fetching WIP * two cols form * blog post * blog post related posts styles * some refactoring * forms fixes * hero section * breadcrumbs * fix * fixes for featured section * fixes * blog single page * single page related posts - mobile view * single page * html, share links hover * input focus styles * some hovers * added page-serch * fixes * fix compact view of card * form ids * related posts, mobile list, css fixes * blog post archetype * posts * turned off cards img animation * netlify cms update * removed excessive padding * readme * font 500 for news letter form
16 lines
575 B
HTML
16 lines
575 B
HTML
<ul class="breadcrumbs">
|
|
<li class="breadcrumbs__crumb"><a href="/">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">/</li>
|
|
<li class="breadcrumbs__crumb"><a href="{{$rellink}}">{{ humanize . }}</a></li>
|
|
{{ end }}
|
|
{{ end }}
|
|
<li class="breadcrumbs__crumb">/</li>
|
|
<li class="breadcrumbs__crumb">{{ .Params.title | safeHTML }}</li>
|
|
</ul>
|