<%@ template file="layout" %> JSPL / Express integration example...

JSPL / Express integration example...

Here is few example created with JSP Like.

Include a variable

Code:

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

Output:

<%= title %>

File include

Code:

  < %@ include file="people" %>

Output:

<%@ include file="people" %>

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