You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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