Warning: Unexpected block "content" on line 3 of web/index.jade. This block is never used. This warning will be an error in v2.0.0
The file referenced is this:
extends layout
block content
main
header.hero
div.content
h1 ...
However, the compiled file is actually correct and does include layout.jade and the proper block content. I don't see this error with these files in a different express environment (and right now they are copied character per character).
I get the following warning:
The file referenced is this:
However, the compiled file is actually correct and does include layout.jade and the proper
block content
. I don't see this error with these files in a different express environment (and right now they are copied character per character).This is the relevant part of the Gruntfile.js:
If I write
"indexJade.html": ["web/layout.jade", "web/index.jade"]
instead I get the exact same content, but duplicated, and the error persists.