Bug fix with the search page's EJS
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang='<%- config.locale %>>
|
||||
<html lang='<%- config.locale %>'>
|
||||
<head>
|
||||
<%- include('../partials/head'); %>
|
||||
</head>
|
||||
@@ -27,10 +27,10 @@
|
||||
|
||||
<div id='results'>
|
||||
<% search_results.posts.forEach((result, index) => { %>
|
||||
<a href="/post/<%- result.id %>"><%- result.title %></a>
|
||||
<a href="/post/<%- result.id %>"><%- result.title %></a><br/>
|
||||
<% }); %>
|
||||
<% search_results.users.forEach((result, index) => { %>
|
||||
<a href="/user/<%- result.username %>"><%- result.prettyname %></a>
|
||||
<a href="/user/<%- result.username %>"><%- result.prettyname %></a><br/>
|
||||
<% }); %>
|
||||
</div>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user