Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
e4c72b348f | |||
08652832ed |
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/coverage.out
|
/coverage.out
|
||||||
/test/out
|
/test/out
|
||||||
/mark2web
|
/mark2web
|
||||||
|
/tmp/
|
@ -55,7 +55,7 @@ func buildNavigationRecursive(tree *TreeNode, curNavMap *map[string]*NavElement,
|
|||||||
subMap := make(map[string]*NavElement)
|
subMap := make(map[string]*NavElement)
|
||||||
subSlice := make([]*NavElement, 0)
|
subSlice := make([]*NavElement, 0)
|
||||||
navEl := NavElement{
|
navEl := NavElement{
|
||||||
Active: strings.HasPrefix(activeNav, elPath),
|
Active: strings.HasPrefix(activeNav, elPath+"/") || activeNav == elPath,
|
||||||
Data: el.Config.Data,
|
Data: el.Config.Data,
|
||||||
ColMap: el.ColMap,
|
ColMap: el.ColMap,
|
||||||
SubMap: &subMap,
|
SubMap: &subMap,
|
||||||
|
@ -37,10 +37,10 @@ graph TD
|
|||||||
class M,C,D,A in
|
class M,C,D,A in
|
||||||
class W out
|
class W out
|
||||||
|
|
||||||
click C "../benutzung/konfiguration" "Doku: Benutzung/Konfiguration"
|
click C "../dokumentation/konfiguration" "Doku: Konfiguration"
|
||||||
click M "../benutzung/inhalte" "Doku: Benutzung/Inhalte"
|
click M "../dokumentation/inhalte" "Doku: Inhalte"
|
||||||
click A "../benutzung/inhalte" "Doku: Benutzung/Inhalte"
|
click A "../dokumentation/inhalte" "Doku: Inhalte"
|
||||||
click D "../benutzung/templates" "Doku: Benutzung/Templates"
|
click D "../dokumentation/templates" "Doku: Templates"
|
||||||
```
|
```
|
||||||
|
|
||||||
<script defer>
|
<script defer>
|
||||||
|
Loading…
Reference in New Issue
Block a user