diff --git a/public/templates/layouts/master.dust b/public/templates/layouts/master.dust index b07bf87..3110348 100644 --- a/public/templates/layouts/master.dust +++ b/public/templates/layouts/master.dust @@ -14,6 +14,11 @@
  • Home
  • Profile
  • Admin
  • + {?user} +
  • Logout ( {user.name} )
  • + {:else} +
  • Log In
  • + {/user} diff --git a/public/templates/profile.dust b/public/templates/profile.dust index 445fe32..3fa1075 100644 --- a/public/templates/profile.dust +++ b/public/templates/profile.dust @@ -2,5 +2,5 @@ {{@pre type="content" key="greeting"/} -

    This is the user profile page

    +

    You are {user.name} and your role is {user.role}

    {/body}