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 has been 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).
The text was updated successfully, but these errors were encountered:
Currently all
include
s andextend
s 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.liquid
extendinglayouts/default.liquid
andlayouts/default.liquid
includeshead.liquid
the folder structure must look like this (except thesubfolder
)If you render
subfolder/index.liquid
,index.liquid
would have to include../layouts/default.liquid
which then would fail to includehead.liquid
(which would be expected atsubfolder/head.liquid
).The text was updated successfully, but these errors were encountered: