Direct access to global data within partial template (Liquid) #3186
Unanswered
SchraderMa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone.
Is there a way to access global data (data file, process.env, etc.) within a partial template (Liquid) without passing the data over in render tag?
/_data/datafile.json
/page-file.html
/_includes/partial.html
It would be very helpful to access global data directly in partials, otherwise you have to pass all the data through all render calls.
Thx for your help!
Best regards,
Marc
Beta Was this translation helpful? Give feedback.
All reactions