Created
July 16, 2012 17:40
-
-
Save greeze/3123956 to your computer and use it in GitHub Desktop.
Example of jade blocks not rendering properly in Locomotive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doctype 5 | |
html(lang="en") | |
head | |
body | |
.container | |
// subview.jade content should appear here, but doesn't | |
block content | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.get('/', function(req, res){ | |
res.render("subview"); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends mainview | |
block content | |
.hero-unit | |
h1 Hello, world. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment