From a1fe768c6d40c7c885db1c9843c61527cbe583e3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 20 Nov 2021 19:47:08 +0100 Subject: Rewrite view templates to use Pug engine. --- views/forum_thread.ejs | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 views/forum_thread.ejs (limited to 'views/forum_thread.ejs') diff --git a/views/forum_thread.ejs b/views/forum_thread.ejs deleted file mode 100644 index 5c76704..0000000 --- a/views/forum_thread.ejs +++ /dev/null @@ -1,29 +0,0 @@ -<%- include('header', { title: thread.subject }) -%> - -<% posts.forEach((row) => { %> -

- - - - -<% if (user) { %> - -
<%= row.author_name %> -<%= row.ctime %> -<%= row.edited ? "(edited " + row.mtime + ")" : "" %> -
<%- row.body %>
-<% if (row.author_id === user.user_id) { %> -Edit -<% } %> -Reply -<% } %> -
-<% }); %> -<% if (user) { %> -

Reply -<% } %> -- cgit v1.2.3