I wish I could include some js code coming from a file called 'inc.jade' containing just this:
It seems that this code fails:
What is the correct way to include inc.jade into my script. tag ?
A suggestion for this scenerio: You should put your JS into each seperate file and include that js file where ever required.
The latest release of Jade adds mixins and includes,you can include existing jade as :
html include includes/head body h1 My Site p Welcome to my super site. include includes/foot
includes/foot.jade: #footer p Copyright (c) foobar