Skip to content
Myr

ejs example using app.register()

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 402d37d · Browse files · 7 files+16 added−11 removed
This commit

State

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

Diff stats

7 files+16 added−11 removed

  • other:+16 added−11 removed

7 files+16 added−11 removed

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