mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-10-30 03:36:16 +00:00
Show only stems of names in the relative hyphae block
This commit is contained in:
parent
2d14d30603
commit
f45758cb0e
@ -112,7 +112,7 @@ func Tree(hyphaName string) (relatives, subhyphae, prev, next string) {
|
||||
for i, s := range siblings {
|
||||
if s.name == hyphaName {
|
||||
I = i
|
||||
relatives += fmt.Sprintf(`<li class="navitree__entry navitree__entry_this"><span>%s</span></li>`, util.BeautifulName(hyphaName))
|
||||
relatives += fmt.Sprintf(`<li class="navitree__entry navitree__entry_this"><span>%s</span></li>`, util.BeautifulName(path.Base(hyphaName)))
|
||||
} else {
|
||||
relatives += s.asHTML()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user