diff options
author | Florrie <towerofnix@gmail.com> | 2018-11-14 16:45:45 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-11-14 16:45:45 -0400 |
commit | 54179415b7a4835903fbcb129159266a73733fdc (patch) | |
tree | 2e02c2b3fc32fcd32fb8c8d612f6752c19e4a11d | |
parent | a64f76d7cc2ff52d5b12255e1fe55bc7411ad81f (diff) |
Link to own profile page in header
-rwxr-xr-x | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js index bd4208e..5b14d51 100755 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ const page = async (request, response, text) => { <body> <header> ${cookies.username ? fixWS` - <p>You are logged in as ${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> `} |