home.jade 188 Bytes
Newer Older
Rosanny Sihombing's avatar
Rosanny Sihombing committed
1
2
3
4
5
6
7
8
9
10
11
12
extends layout

block content
	if user !== null
		h1 Hello, #{user.firstName}
		a(href="/profile") Profile
		br
		a(href="/logout") Logout
	else
		h1 Welcome
		br
		a(href="/login") Login