diff options
-rwxr-xr-x | json-template.s6l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/json-template.s6l b/json-template.s6l index 7d88833..06a591b 100755 --- a/json-template.s6l +++ b/json-template.s6l @@ -256,7 +256,7 @@ context))))]
[(section? thing)
(let ([context (resolve-path stack (name->path (section-name thing)))])
- (if context
+ (if (and context (not (null? context)))
(expand-template (section-body thing)
(cons context stack)
default-formatter)
|