diff --git a/server.go b/server.go index 98a7e86..c3c3823 100644 --- a/server.go +++ b/server.go @@ -36,15 +36,17 @@ const directoryListingTemplateText = `

{{ .Title }}

-{{ if .Files }} +{{ if or .Files .AllowUpload }} + {{- if .Files }} + {{- end }} {{- range .Files }} {{ if (not .IsDir) }}
Size (bytes)
.tar.gz of all files
.zip of all files