EJS is an actively used template created in 2010.

9Years Old 6,606Users 0Jobs
  • EJS ranks in the bottom 50% of languages
  • EJS on github
  • EJS first appeared in 2010
  • I have 34 facts about EJS. just email me if you need more.

Example code from the web:

<% if (user) { %>
   <h2><%= user.name %></h2>
<% } %>

Example code from Linguist:

<% 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>
Edit

Last updated February 11th, 2019