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