ForumExperiment/views/partials/top.ejs
2023-04-13 15:21:17 -04:00

9 lines
303 B
Plaintext

<div id="actionBar">
<div><a href="/">Home</a> </div>
<% if(locals.session?.logged_in){ %>
<div id="actionBarRight"><a href="/logout">logout</a> </div>
<% } else { %>
<div id="actionBarRight"><a href="/login">Login</a> </div>
<% }; %>
</ul>
</div>