文件夹结构:
./jglobal/common.jade
./site1/template.jade
template.jade:
doctype html
html(lang='#{meta.lang_code}')
head
include ../jglobal/common
当我通过命令行模式渲染模板时,我收到了这个错误:
the "filename" option is required to use "include" with "relative" paths
感谢任何提示!