22 lines
433 B
Go
22 lines
433 B
Go
package mark2web
|
|
|
|
import "gitbase.de/apairon/mark2web/pkg/helper"
|
|
|
|
// TreeNode is complete config tree of content dir
|
|
type TreeNode struct {
|
|
InputPath string
|
|
OutputPath string
|
|
Hidden bool // for collections which are not part of the navigation
|
|
|
|
ColMap helper.MapString
|
|
|
|
InputFiles []string
|
|
OtherFiles []string
|
|
|
|
Config *PathConfig
|
|
Sub []*TreeNode
|
|
|
|
root *TreeNode // shows always to root of tree
|
|
parent *TreeNode
|
|
}
|