Skip to content
Myr

Added ejs example

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 83df3dd · Browse files · 4 files+10 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+10 added−0 removed

  • other:+10 added−0 removed

4 files+10 added−0 removed

modified:examples/ejs/views/partials/user.ejs+1 added
1<li><%= user.name %> &lt;<%= user.email %>&gt;</li>
modified:examples/ejs/views/layout.ejs+6 added
1<html>2 <body>3 <h1>Users</h1>4 <%- body %>5 </body>6</html>
modified:examples/ejs/views/users.ejs+3 added
1<ul id="users">2 <%- partial('user', users) %>3</ul>
modified:support/ejsnot shown

Its text is not shown, modified.