aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/nav.html
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-11-19 10:09:05 -0500
committerDrew DeVault <sir@cmpwn.com>2020-11-19 10:09:05 -0500
commit199288045480856985e377f7475a1991a2decc33 (patch)
tree80517ad8577d391dd58c500e77c3694e19fd6ee2 /themes/alps/nav.html
parent5087e4b327732ba826bf6c839c06dcca1f8314f7 (diff)
downloadalps-199288045480856985e377f7475a1991a2decc33.tar.gz
alps-199288045480856985e377f7475a1991a2decc33.zip
Add theme-specific error page
Diffstat (limited to 'themes/alps/nav.html')
-rw-r--r--themes/alps/nav.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/alps/nav.html b/themes/alps/nav.html
index d14a862..d7eee9c 100644
--- a/themes/alps/nav.html
+++ b/themes/alps/nav.html
@@ -22,10 +22,12 @@
{{ end }}
>Contacts</a>
{{ end }}
+ {{ if .GlobalData.LoggedIn }}
<div>
<span>{{ .GlobalData.Username }}</span>
<a href="/settings">Settings</a>
<a href="/logout">Sign Out</a>
</div>
+ {{ end }}
</nav>
</header>