lots of fixes and more EJS

This commit is contained in:
2025-07-23 02:20:38 +01:00
parent 929151a16d
commit 797d894621
24 changed files with 634 additions and 598 deletions

16
views/forms/new_post.ejs Normal file
View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
</html>
<head>
<%- include('../partials/head.ejs') %>
</head>
<body>
<form action="/submit_post" method="POST">
<input placeholder="username" required name="username"><br/>
<input placeholder="password" type="password" required id="password" name="password"><br/>
<input placeholder="title" required name="title"><br/>
<textarea placeholder="post content*" required name="content"></textarea><br/>
<input placeholder="Tags (comma seperated)" name="tags"><br/>
<input type="submit" value="Submit"><br/>
<small>* Markdown supported</small>
</body>
</form></html>