mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-08-09 07:14:32 +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 {
|
for i, s := range siblings {
|
||||||
if s.name == hyphaName {
|
if s.name == hyphaName {
|
||||||
I = i
|
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 {
|
} else {
|
||||||
relatives += s.asHTML()
|
relatives += s.asHTML()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user