-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
Hi, I'm using express 3.4.7. Before I imported express-partials, I used blocks to organize my views,
in layout.jade
body
block content
in index.jade
extends layout
block content
....
Results in a blank page only with layout.jade's content rendered but not index.jade's. Does express-partial excludes blocks?
Now I have to use
body
!= body
which seems to work with partials only needed to modify index.jade to
include layout
....
The problem is if I put a bit more into the layout, for example
body
h1 hello
!= body
h1 hello turns out to be rendered twice.
I need partials because I needed to use them dynamically
- partial( /* dynamic view name */ )
which through "include" or "block" cant be achieved. Is there a way to get the good stuff from both express 3 and express-partials?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels