reprogl
1{{if .HasIdentity -}}
2<a href="{{path "profile"}}">
3<span class="glyphicon glyph-fw glyphicon-user"></span>
4<span>Профиль</span>
5</a>
6<a href="{{path "logout"}}">
7<span class="glyphicon glyph-fw glyphicon-off"></span>
8<span>Logout</span>
9</a>
10{{- else -}}
11<a href="{{path "login"}}">
12<span class="glyphicon glyph-fw glyphicon-log-in"></span>
13<span>Login</span>
14</a>
15{{- end}}
16