我有哈巴狗模板-布局哈巴狗
layout
我想通过对块内容进行一些更改来扩展此模板当我在子模板中扩展布局时,一切正常。
child template
但是当我尝试重写任何布局块时,在终端中看到无效的换行错误
pug error
[请帮助我,根据您的建议解决此问题。 THX
您缺少文件的扩展名:
extends common/layout.pug,如您在文档here中所看到的。
extends common/layout.pug