I'm creating a site using Harp, and I was wondering if there is a way to use Jade blocks alongside the normal != yield way of working. Basically, for page specific scripts, I'd like to pass a block into my layout. At the moment, whatever I have in a block in my template just gets passed through as is into my layout.
// _layout.jade html head title Hello, world body != yield div Random delimiter block scripts // index.jade h1 Hello, world block scripts script(src='/some/script.js'). div Not working
<html> <head> <title>Hello, world</title> </head> <body> <h1>Hello, world</h1> <div>Not working</div> <div>Random delimiter</div> </body> </html>