diff options
author | Florrie <towerofnix@gmail.com> | 2018-11-14 22:54:44 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-11-14 22:54:54 -0400 |
commit | ac850d37e7964edaf4ea69aac8a5dfe0c49fca09 (patch) | |
tree | feb9f6fceac3bf266d6def2537d0705d348e15fa | |
parent | d40b9bc2e067b159da76fa02e5da437540556c45 (diff) |
Break up a particularly long line of code
Just cleanup!
-rwxr-xr-x | index.js | 3 |
1 files changed, 2 insertions, 1 deletions
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) => { <body> <header> ${cookies.username ? fixWS` - <p>You are logged in as ${templates.user(cookies.username)}. (<a href="/logout">Log out.</a>) You have ${'' + notificationCount} unread <a href="/notifications">${pluralize('notification', notificationCount)}</a>.</p>` + <p>You are logged in as ${templates.user(cookies.username)}. (<a href="/logout">Log out.</a>) + You have ${'' + notificationCount} unread <a href="/notifications">${pluralize('notification', notificationCount)}</a>.</p>` : fixWS` <p>You are not logged in. <a href="/login">Log in.</a></p> `} |