website/layouts/partials/main/breadcrumb.html

4 lines
190 B
HTML
Raw Permalink Normal View History

2021-03-09 18:56:02 +05:30
{{ with .Parent -}}
{{ partial "main/breadcrumb.html" . -}}
<li class="breadcrumb-item"><a href="{{ .Permalink }}">{{ if .IsHome }}Home{{ else }}{{ .Title }}{{ end }}</a></li>
{{ end -}}