mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
@@ -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