Files
blogger-nodejs/views/pages/comment.ejs
deadvey e597fd78f7 Comment replies on comment page
There is now a reply form on the comment pages to reply to that comment
Syntax:
>> postID-commentID

Signed-off-by: deadvey <deadvey@deadvey.com>
2025-09-24 17:33:25 +01:00

27 lines
916 B
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<%- include('../partials/head'); %>
</head>
<body>
<div id="header">
<%- include("../headers/site_wide") %>
</div>
<div id="comment">
<%- include("../partials/comment"); %>
</div>
<%- config.seperator %>
<b><%= locale.reply %>:</b>
<div id="post-commentform">
<!-- Comment form -->
<form method="POST" action="/submit_comment">
<input type="hidden" name="post_index" value="<%= postID %>">
<label><%= locale.username %>:</label><br/><input name="name"><br/><br/>
<label><%= locale.comment %>:</label><br/><textarea name="content">>> <%- postID %>-<%- commentID %>
</textarea><br/>
<button type="submit"><%= locale.submit %></button>
</form>
</div>
</body>
</html>