Skip to content

Instantly share code, notes, and snippets.

@arockwell
Created August 5, 2010 19:26
Show Gist options
  • Select an option

  • Save arockwell/510246 to your computer and use it in GitHub Desktop.

Select an option

Save arockwell/510246 to your computer and use it in GitHub Desktop.
<#if loginName??>
<li>
Logged in as <strong>${loginName}</strong> (<a href="${urls.logout}">Log out</a>)
</li>
<li><a href="${urls.siteAdmin}">Site Admin</a></li>
<#else>
<li><a title="log in to manage this site" href="${urls.login}">Log in</a></li>
</#if>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment