diff options
| author | Lizzy Hunt <lizzy.hunt@usu.edu> | 2024-03-27 15:02:31 -0600 |
|---|---|---|
| committer | Lizzy Hunt <lizzy.hunt@usu.edu> | 2024-03-27 15:02:31 -0600 |
| commit | 0dc2679005e70c50024bc49e750f3998a0c4c24b (patch) | |
| tree | 73153522195608ee2ed3bbb4c2ed3cbc621b6b07 /templates/base.html | |
| parent | 8d65f4e23026dce5d04e9a4afaf216f0732482a6 (diff) | |
| download | hatecomputers.club-0dc2679005e70c50024bc49e750f3998a0c4c24b.tar.gz hatecomputers.club-0dc2679005e70c50024bc49e750f3998a0c4c24b.zip | |
authentication! oauth2!
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html index fcd978e..1846493 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,6 +22,12 @@ <div class="header"> <h1>hatecomputers.club</h1> <a href="javascript:void(0);" id="theme-switcher"></a> + <span> | </span> + {{ if .User }} + <a href="/logout">logout, {{ .User.DisplayName }}.</a> + {{ else }} + <a href="/login">login.</a> + {{ end }} </div> <hr> |
