mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 16:17:21 +00:00
1 parent
b31da911b5
commit
6650fae7ad
1 file changed
+1
-1
+1
-1
@@ -88,7 +88,7 @@ func (t *TemplateAdapter) Tree() string {
|
|||||||
panic("Unknown template")
|
panic("Unknown template")
|
||||||
}
|
}
|
||||||
|
|
||||||
if tree.Root == nil {
|
if tree == nil || tree.Root == nil {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
s := tree.Root.String()
|
s := tree.Root.String()
|
||||||
|
|||||||
Reference in new issue
Block a user