chore: Import layout for breadcrumb
This commit is contained in:
4
portails/shared/layouts/partials/main/breadcrumb.html
Normal file
4
portails/shared/layouts/partials/main/breadcrumb.html
Normal file
@ -0,0 +1,4 @@
|
||||
{{ with .Parent -}}
|
||||
{{ partial "main/breadcrumb.html" . -}}
|
||||
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ if .IsHome }}Home{{ else if eq .CurrentSection .FirstSection }}{{ .Section | humanize }}{{ else }}{{ .Title }}{{ end }}</a></li>
|
||||
{{ end -}}
|
Reference in New Issue
Block a user