From ac850d37e7964edaf4ea69aac8a5dfe0c49fca09 Mon Sep 17 00:00:00 2001 From: Florrie Date: Wed, 14 Nov 2018 22:54:44 -0400 Subject: Break up a particularly long line of code Just cleanup! --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 576a5a8..3ed4996 100755 --- a/index.js +++ b/index.js @@ -28,7 +28,8 @@ const page = async (request, response, text) => {
${cookies.username ? fixWS` -

You are logged in as ${templates.user(cookies.username)}. (Log out.) You have ${'' + notificationCount} unread ${pluralize('notification', notificationCount)}.

` +

You are logged in as ${templates.user(cookies.username)}. (Log out.) + You have ${'' + notificationCount} unread ${pluralize('notification', notificationCount)}.

` : fixWS`

You are not logged in. Log in.

`} -- cgit 1.3.0-6-gf8a5