1. Andriy Kornatskyy
  2. wheezy.web

Source

wheezy.web / demos / template / content / templates-preprocessor / shared / snippet / menu-signin.html

1
2
3
4
5
6
7
8
#require(_, path_for)
@require(principal)
@if principal:
#_('Welcome') <b>@principal.alias!h</b>! [
<a href="#path_for('signout')">#_('Sign out')</a>]
@else:
[<a href="#path_for('signin')">#_('Sign in')</a>]
@end