#Loqi[Guillaume-Mayer] I tried the workaround but it didn't work for me.
It seems that the js files in the _data directory are not loaded, not sure why.
But putting the name of the layout in a json worked.
In _data/layout.json: `"base.liquid"`
If it can help someone.