prototype of comments
This commit is contained in:
parent
9cdf2326b8
commit
11147482d2
11 changed files with 216 additions and 5 deletions
9
views/replies.ejs
Normal file
9
views/replies.ejs
Normal file
|
@ -0,0 +1,9 @@
|
|||
<div class='main'>
|
||||
<h1 class="header-big">Replies</h1>
|
||||
<%- include ('vblock.ejs', {link: opLink, icon: '/icon.svg', name: 'Original'}) %>
|
||||
<%- include ('vblock.ejs', {link: `${page - 1}`, icon: '/icon.svg', name: 'Previous'}) %>
|
||||
<%- include ('vblock.ejs', {link: `${page * 1 + 1}`, icon: '/icon.svg', name: 'Next'}) %>
|
||||
</div>
|
||||
<% for (let reply of replies) { %>
|
||||
<%- include ('comment.ejs', reply.comment || {}) %>
|
||||
<% } %>
|
Loading…
Add table
Add a link
Reference in a new issue