1
0
mirror of https://github.com/kirsle/kirsle.net synced 2024-12-22 23:19:28 +00:00

Link to account settings on nav bar

This commit is contained in:
Noah 2017-12-23 19:19:48 -08:00
parent 72bf6ad621
commit e76267822d

View File

@ -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>&#0164; Hi, <big>{{ or .CurrentUser.Name .CurrentUser.Username }}</big></li> <li>&#0164; Hi, <big><a href="/account">{{ or .CurrentUser.Name .CurrentUser.Username }}</a></big></li>
{{ if .CurrentUser.Admin }} {{ if .CurrentUser.Admin }}
<li>&#0187; <a href="/admin">Admin Center</a></li> <li>&#0187; <a href="/admin">Admin Center</a></li>
{{ end }} {{ end }}