mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
@@ -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, ".")
|
||||
|
Reference in New Issue
Block a user