From 1e0433c9df062ead21d0f46b15d088622b7d5c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 22 Sep 2021 02:11:50 +0200 Subject: Log in, log out --- t/front.t | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 't') diff --git a/t/front.t b/t/front.t index 4f94a9b..f8dc9e3 100644 --- a/t/front.t +++ b/t/front.t @@ -1,8 +1,15 @@ <% #include "head.tc" %>

<%= site.name %>

+<% if(curuser) { %> +Logged in as <%= curuser->name %>. +<% } %>

Latest posts

-- cgit v1.2.3