updates on #18

This commit is contained in:
Henrique Dias committed 2016-08-26 21:59:06 +01:00
1 parent c29d066842
commit aa7d4f69ef
3 files changed
+68 -11

No files matched your search

+4
View File
@@ -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["/"] = "/"