Minor change to /index/pages EJS
This commit is contained in:
@@ -6,11 +6,12 @@
|
||||
<body>
|
||||
Misc:<br/>
|
||||
<a href="/">Home Page</a><br/>
|
||||
<a href="<%= config.new_post_url %>">New Post Form</a><br/>
|
||||
<a href="<%= config.signup_url %>">Signup Form</a><br/>
|
||||
Indexes:<br/>
|
||||
<a href="/index/posts">Posts Index</a><br/>
|
||||
<a href="/index/users">Users Index</a><br/>
|
||||
<a href="/index/comments">Comments Index</a><br/>
|
||||
<a href="<%= config.new_post_url %>">New Post Form</a><br/>
|
||||
<a href="<%= config.signup_url %>">Signup Form</a><br/>
|
||||
Posts:<br/>
|
||||
<% for (let postID = 0; postID < posts.length; postID++) { %>
|
||||
<% if (posts[postID]["deleted"] != true) { %>
|
||||
@@ -41,5 +42,6 @@
|
||||
<a href="/<%= config.edit_account_base_url %>/<%= users[userID]["username"] %>">Edit <%= users[userID]["username"] %></a><br/>
|
||||
<% }; %>
|
||||
<% }; %>
|
||||
<!-- TODO add tags -->
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user