Add upload to navbar
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
<header>
|
||||
<a class="brand" href="{{.Base}}">Uncensored Send</a>
|
||||
<nav>
|
||||
{{- /* Uploading is what the site is for, so it is a named destination and
|
||||
not only a click on the wordmark. */}}
|
||||
<a href="{{.Base}}">Upload</a>
|
||||
{{if .User}}
|
||||
<a href="{{.Base}}files">{{if .Admin}}Administration{{else}}My files{{end}}</a>
|
||||
<span class="who">{{.User}}</span>
|
||||
|
||||
Reference in New Issue
Block a user