derv-net/views/replies.ejs
2025-02-26 01:10:09 -05:00

9 lines
No EOL
435 B
Text

<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 || {}) %>
<% } %>