html - Having trouble with layout.jade and linking to top-menu.jade -


i using express latest project. i've never used jade before, i'm trying understand why i'm having issue or if i'm going wrong way.

here what's in layout.jade:

doctype html  html   head     title outpost     meta(charset='utf-8')     meta(name='viewport', content='width=device-width, initial-scale=1.0')     link(href='stylesheets/style.css', rel='stylesheet')     link(href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css", rel="stylesheet")     link(href='https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css', rel='stylesheet')   body     block top-menu 

i have file called top-menu.jade following:

extends layout  block top-menu   <!-- menu code --> 

unfortunately, nothing shows if replace in commented section <p>hello</p>

please let me know.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -