This is an automated email from the ASF dual-hosted git repository.

rbowen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-events-site.git


The following commit(s) were added to refs/heads/main by this push:
     new cc2c69f  Remove .Html from breadcrumb text
cc2c69f is described below

commit cc2c69f45bdad8914b3db9926866fddb6b272c50
Author: Rich Bowen <[email protected]>
AuthorDate: Tue Feb 3 13:37:28 2026 -0500

    Remove .Html from breadcrumb text
---
 layouts/partials/breadcrumbs.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/partials/breadcrumbs.html 
b/layouts/partials/breadcrumbs.html
index 3a1a56f..61d20ad 100644
--- a/layouts/partials/breadcrumbs.html
+++ b/layouts/partials/breadcrumbs.html
@@ -5,7 +5,7 @@
     {{ range $index, $element := split $url "/" }}
         {{ $.Scratch.Add "path" $element }}
         {{ if ne $element "" }}
-            &nbsp; <a href='{{ $.Scratch.Get "path" }}'>{{ replace (humanize 
.) ".html" "" }}</a>
+            <li class="breadcrumb-item"><a href='{{ $.Scratch.Get "path" 
}}'>{{ humanize . | replaceRE "\\.[hH]tml$" "" }}</a></li>
             {{ $.Scratch.Add "path" "/" }}
         {{ end }}
     {{ end }}

Reply via email to