Fix GetPage Params case issue

Fixes #5946
This commit is contained in:
Bjørn Erik Pedersen
2019-11-21 19:45:03 +01:00
parent 628efd6e29
commit cd07e6d57b
4 changed files with 48 additions and 6 deletions

View File

@@ -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, ".")