JSPL / Express integration example...

Include a variable

Code:

  <h1><%= title %></h1>

Output:

<%= title %>

File include

Code:

  <jspl:include file="people" >

Output:



Now you should look at the content of views/people.html and router/index.js..