ForumExperiment/views/partials/top.ejs

9 lines
303 B
Plaintext
Raw Normal View History

2023-04-13 19:21:17 +00:00
<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>