From f8ef7e4a7c538bf392237c6c29caa9dedca6e29e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 18 Sep 2021 02:25:16 +0200 Subject: Add README for mktpl --- t/front.t | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 't/front.t') diff --git a/t/front.t b/t/front.t index 5c88166..fcdecdb 100644 --- a/t/front.t +++ b/t/front.t @@ -2,17 +2,13 @@

<%= site.name %>

Latest posts

- <% - while(post = getpost(stmt, 0)){ - user = getuser(byid("users", post->user), 1); - %> + <% while(post = getpost(stmt, 0)){ + user = getuser(byid("users", post->user), 1); %> - <% - } - %> + <% } %>
id); %>"><%= post->subject %> user); %>"><%= user->name %> <% printdate(post->created); %>
<% #include "foot.tc" %> \ No newline at end of file -- cgit v1.2.3