Jade模板继承块内容不起作用
我有layout.jade:
html
include includes/head
body
header
h1 Jumplink design
p web design+creative solutions
include includes/nav
block content
和我的about.jade,它应该扩展布局被解析,但没有显示。
extends layout
block content
h3 About me
在我的导航中,我有一个 about.jade 的链接。我不知道发生了什么,没有任何作用。
I have layout.jade:
html
include includes/head
body
header
h1 Jumplink design
p web design+creative solutions
include includes/nav
block content
and my about.jade which is supposed to extend the layout gets parsed but nothing shows.
extends layout
block content
h3 About me
In my navigation, I have a link to about.jade.I don't know what's going on, nothing works.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我希望我可以结束这个问题。问题是我的文件权限在所有文件上都不相同。
I wish I could close this question. The problem was that my file permissions where not the same on all the files.