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
{{ message }}
This repository was archived by the owner on Jan 12, 2023. It is now read-only.
So if you have index.liquid extending layouts/default.liquid and layouts/default.liquid includes head.liquid the folder structure must look like this (except the subfolder)
index.liquid
head.liquid
layouts/
default.liquid
subfolder/
index.liquid
If you render subfolder/index.liquid, index.liquid would have to include ../layouts/default.liquid which then would fail to include head.liquid (which would be expected at subfolder/head.liquid).
Currently all
includes andextends must be relative to the initial liquid-template (see https://github.com/sirlantis/grunt-liquid/blob/master/tasks/liquid.js#L44-L46).So if you have
index.liquidextendinglayouts/default.liquidandlayouts/default.liquidincludeshead.liquidthe folder structure must look like this (except thesubfolder)If you render
subfolder/index.liquid,index.liquidwould have to include../layouts/default.liquidwhich then would fail to includehead.liquid(which would be expected atsubfolder/head.liquid).