updates on #18
This commit is contained in:
1 parent
c29d066842
commit
aa7d4f69ef
3 files changed
+68
-11
No files matched your search
@@ -46,6 +46,10 @@ func (i Info) BreadcrumbMap() map[string]string {
|
||||
|
||||
parts := strings.Split(lpath, "/")
|
||||
for i, part := range parts {
|
||||
if i == len(parts)-1 {
|
||||
continue
|
||||
}
|
||||
|
||||
if i == 0 && part == "" {
|
||||
// Leading slash (root)
|
||||
result["/"] = "/"
|
||||
|
||||
Reference in new issue
Block a user