diff options
Diffstat (limited to 'tpl/tplimpl/template_ast_transformers.go')
-rw-r--r-- | tpl/tplimpl/template_ast_transformers.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tpl/tplimpl/template_ast_transformers.go b/tpl/tplimpl/template_ast_transformers.go index fb0728a63..d257d7a31 100644 --- a/tpl/tplimpl/template_ast_transformers.go +++ b/tpl/tplimpl/template_ast_transformers.go @@ -508,8 +508,7 @@ func (d decl) resolveVariables(idents []string) ([]string, bool) { } if !d.isKeyword(replacement) { - // This can not be .Site.Params etc. - return nil, false + continue } replacement = strings.TrimPrefix(replacement, ".") |