Stream: IG creation
Topic: Custom liquid variables
Jose Costa Teixeira (Mar 12 2020 at 06:28):
How can I add custom liquid variables to my IG?
Grahame Grieve (Mar 12 2020 at 06:38):
this is in jekyll? like any other user of Jekyll - see https://jekyllrb.com/docs/datafiles/
Jose Costa Teixeira (Mar 12 2020 at 07:12):
Ok where is the jekyll root - where should I put my _data folder ? Is it the input folder?
Grahame Grieve (Mar 12 2020 at 08:00):
pages folder
Grahame Grieve (Mar 12 2020 at 08:01):
so _data in the pages folder
Rob Eastwood (Mar 13 2020 at 00:26):
I have found this works as above when using the old template approach (ie ig.json). However, I have not figured it out when using the new template approach. See thread recently added where Lloyd McKenzie reports that:
It's not something built in right now. it's something we could potentially add support for (or you could do it with a custom template that inherits from the base).
Last updated: Apr 12 2022 at 19:14 UTC