Skip to content

Commit

Permalink
add home and logout link to the layout
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed May 30, 2021
1 parent bd7464e commit dd73d5e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/layouts/default.html.ep
@@ -1,5 +1,11 @@
<!DOCTYPE html>
<html>
<head><title><%= title %></title></head>
<body><%= content %></body>
<body>
<a href="/">home</a>
% if (session 'email' and current_route ne 'logout') {
| <a href="/logout">logout</a>
% }
<%= content %>
</body>
</html>

0 comments on commit dd73d5e

Please sign in to comment.