Skip to content

Commit 8208a2b

Browse files
committed
use site.data
1 parent 35a54fd commit 8208a2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/liquid-tags/indented-data-reference.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = {
3030
assert(parseInt(numSpaces) || numSpaces === '0', '"spaces=NUMBER" must include a number')
3131

3232
// Get the referenced value from the context
33-
const value = await this.liquid.evalValue(dataReference, context)
33+
const value = await this.liquid.evalValue(`site.data.${dataReference}`, context)
3434

3535
// If nothing is found in the context, exit with nothing; this may
3636
// feel weird and that we should throw an error, but this is "The Liquid Way TM"

0 commit comments

Comments
 (0)