Skip to content

Commit cc2c69f

Browse files
committed
Remove .Html from breadcrumb text
1 parent 970d018 commit cc2c69f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/partials/breadcrumbs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{{ range $index, $element := split $url "/" }}
66
{{ $.Scratch.Add "path" $element }}
77
{{ if ne $element "" }}
8-
&nbsp; <a href='{{ $.Scratch.Get "path" }}'>{{ replace (humanize .) ".html" "" }}</a>
8+
<li class="breadcrumb-item"><a href='{{ $.Scratch.Get "path" }}'>{{ humanize . | replaceRE "\\.[hH]tml$" "" }}</a></li>
99
{{ $.Scratch.Add "path" "/" }}
1010
{{ end }}
1111
{{ end }}

0 commit comments

Comments
 (0)