EJS is an open source template language created in 2010 by Tj Holowaychuk.
#145on PLDB | 14Years Old | 93kRepos |
git clone https://github.com/tj/ejs
Embedded JavaScript templates for node
<% if (user) { %>
<h2><%= user.name %></h2>
<% } %>
<% include parts/depend %>
<div class="row">
<% if (user.primaryAccount == "teacher") { %>
<% include teacher/sidebar %>
<% include teacher/dashboard %>
<% } else if (user.primaryAccount == "student") { %>
<% include student/sidebar %>
<% include student/dashboard %>
<% } else { %>
<center><h2>There seems to be a problem</h2></center>
<% } %>
</div>