breadcumb menu

This commit is contained in:
Denys Konovalov 2023-01-30 20:21:47 +01:00
parent 419d2461b2
commit 3d28bf3e9e

View File

@ -3,7 +3,7 @@
<div class="row"> <div class="row">
<div class="col-md-8"> <div class="col-md-8">
<ul class="list-inline custom-breadcrumb"> <ul class="list-inline custom-breadcrumb">
<li class="list-inline-item h2"><a class="text-primary font-secondary" href="{{ .Site.BaseURL | absLangURL }}">{{ .Site.Params.home }}</a></li> <li class="list-inline-item h2"><a class="text-primary font-secondary" href="{{ if .Parent.Page }}{{ .Parent.Page.Permalink }}{{ else }}{{ .Site.BaseURL | absLangURL }}{{end}}">{{ with .Parent.Params.title }}{{.}}{{ else }}{{ .Site.Params.home }}{{end}}</a></li>
<li class="list-inline-item h2"><i class="fa-solid fa-angle-right text-white"></i></li> <li class="list-inline-item h2"><i class="fa-solid fa-angle-right text-white"></i></li>
<li class="list-inline-item text-white h2 font-secondary">{{ .Title }}</li> <li class="list-inline-item text-white h2 font-secondary">{{ .Title }}</li>
</ul> </ul>