website/layouts/partials/main/breadcrumb.html
2021-03-09 18:56:02 +05:30

4 lines
No EOL
190 B
HTML

{{ with .Parent -}}
{{ partial "main/breadcrumb.html" . -}}
<li class="breadcrumb-item"><a href="{{ .Permalink }}">{{ if .IsHome }}Home{{ else }}{{ .Title }}{{ end }}</a></li>
{{ end -}}