Skip to content

Commit

Permalink
fix nav whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rystaf committed May 27, 2024
1 parent 9de5ccb commit 4208844
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions templates/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@
</div>
<div class="right">
{{- if .Session }}
<a href="/{{.Host}}/u/{{ .Session.UserName}}">{{ .Session.UserName }}</a>|
<a href="/{{.Host}}/inbox" class="mailbox{{ if .UnreadCount }} orangered{{end}}"></a>|
<a id="opensettings" href="/{{.Host}}/settings">settings</a>|
<a href="/{{.Host}}/u/{{ .Session.UserName}}">{{ .Session.UserName }}</a>
|
<a href="/{{.Host}}/inbox" class="mailbox{{ if .UnreadCount }} orangered{{end}}"></a>
|
<a id="opensettings" href="/{{.Host}}/settings">settings</a>
|
<form method="POST"><input type="submit" name="op" value="logout"></form>
{{- else}}
<a href="/{{.Host}}/login">log in</a> or <a href="/{{.Host}}/login">sign up</a>|
Expand Down

0 comments on commit 4208844

Please sign in to comment.