mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
@@ -175,6 +175,9 @@ func (c *templateTransformContext) applyTransformations(n parse.Node) (bool, err
|
||||
}
|
||||
|
||||
case *parse.CommandNode:
|
||||
if x == nil {
|
||||
return true, nil
|
||||
}
|
||||
c.collectInner(x)
|
||||
keep := c.collectReturnNode(x)
|
||||
|
||||
|
Reference in New Issue
Block a user