我在继承上有多个层次,
测试布局.jade
html
head
title My Site - #{title}
body
block content
block foot
#footer
p some footer content
测试.jade
extends test-layout
block content
h1 titllllllllle
p some text
test-child.jade
extends test
block content
.sidebar
li
block sidebar
p nothing
.primary
li
block primary
p nothing
试孙
extend test-child
block sidebar
b this is grandson sidebar
block primary
b this is grandson primary
类型http://*/test
我遇到了这个问题:
500 Error: F:\express\views\test\test-layout.jade:2
1| extends test-layout
> 2|
3| block content
4| h1 my titllllllllle
5| p some text unexpected token "indent"
类型http://*/test-child
我懂了:
extends test-layout
nothing
nothing
任何人都可以帮忙吗?
谢谢!