【发布时间】:2015-11-25 02:32:57
【问题描述】:
我的计划是在_includes 目录中包含文件夹:
_包含/页脚
_包括/英雄
_includes/cta
等等……
当我引用 {% include footers/footer1.html %} 时,我收到以下错误:
Liquid Exception: Included file '_includes/footers/footer1.html' not found in _layouts/default.html
这超出了预期的功能,还是我遗漏了什么?
【问题讨论】:
-
这应该可以工作。你在 github 上有一些资源吗?
-
这对我有用!检查文件权限并确保文件
_includes/footers/footer1.html在那里。