Debian Codegraph @

examples/route-separation/views/posts/index.ejs

raw
1 <%- include('../header') -%>
2
3 <h1>Posts</h1>
4
5 <dl id="posts">
6 <% posts.forEach(function(post) { %>
7 <dt><%= post.title %></dt>
8 <dd><%= post.body %></dd>
9 <% }) %>
10 </dl>
11
12 <%- include('../footer') -%>