Made some small changes

This commit is contained in:
deadvey
2026-03-03 20:39:40 +00:00
parent 9be261d415
commit 3fab094545
4 changed files with 8 additions and 16 deletions

View File

@@ -10,13 +10,6 @@
<header id='page-header'>
<%- include('../headers/timeline'); %>
</header>
<form method="POST" action="/submit_nothing" style="display:none">
<!-- Form is used to help mitigate spam as it is the first form on the front page -->
<input type="hidden" name="post_index" value="0">
<input placeholder="username" name="name"><br/>
<textarea placeholder="comment" name="content"></textarea><br/>
<button type="submit">Submit</button>
</form>
<div id="posts">
<% for (let index = posts.length - 1; index >= 0; index--) { %>
<% if (posts[index]["deleted"] != true) { %>
@@ -24,13 +17,6 @@
<% } %>
<% } %>
</div>
<form method="POST" action="/submit_nothing" style="display:none">
<!-- Form is used to help mitigate spam as it is the last form on the front page -->
<input type="hidden" name="post_index" value="0">
<input placeholder="username" name="name"><br/>
<textarea placeholder="comment" name="content"></textarea><br/>
<button type="submit">Submit</button>
</form>
<footer id='footer'>
<%- include('../partials/footer'); %>
</footer>