mirror of
https://github.com/kirsle/kirsle.net
synced 2024-12-22 15:09:29 +00:00
Link to account settings on nav bar
This commit is contained in:
parent
72bf6ad621
commit
e76267822d
|
@ -151,7 +151,7 @@
|
||||||
<div class="k-section">Fan Club</div>
|
<div class="k-section">Fan Club</div>
|
||||||
<ul>
|
<ul>
|
||||||
{{ if .LoggedIn }}
|
{{ if .LoggedIn }}
|
||||||
<li>¤ Hi, <big>{{ or .CurrentUser.Name .CurrentUser.Username }}</big></li>
|
<li>¤ Hi, <big><a href="/account">{{ or .CurrentUser.Name .CurrentUser.Username }}</a></big></li>
|
||||||
{{ if .CurrentUser.Admin }}
|
{{ if .CurrentUser.Admin }}
|
||||||
<li>» <a href="/admin">Admin Center</a></li>
|
<li>» <a href="/admin">Admin Center</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user