We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 970d018 commit cc2c69fCopy full SHA for cc2c69f
1 file changed
layouts/partials/breadcrumbs.html
@@ -5,7 +5,7 @@
5
{{ range $index, $element := split $url "/" }}
6
{{ $.Scratch.Add "path" $element }}
7
{{ if ne $element "" }}
8
- <a href='{{ $.Scratch.Get "path" }}'>{{ replace (humanize .) ".html" "" }}</a>
+ <li class="breadcrumb-item"><a href='{{ $.Scratch.Get "path" }}'>{{ humanize . | replaceRE "\\.[hH]tml$" "" }}</a></li>
9
{{ $.Scratch.Add "path" "/" }}
10
{{ end }}
11
0 commit comments