remove unused variable

This commit is contained in:
Henrique Dias 2017-01-25 14:08:38 +00:00
parent fc2a71c662
commit bf29debeae
3 changed files with 1 additions and 4 deletions

View File

@ -5,7 +5,6 @@
<title>{{.Name}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta charset="utf-8">
<meta name="token" content="{{ .Token }}">
<link rel="stylesheet" href="{{ .Config.AbsoluteURL }}/_filemanagerinternal/css/normalize.css">
<link rel="stylesheet" href="{{ .Config.AbsoluteURL }}/_filemanagerinternal/css/fonts.css">
<link rel="stylesheet" href="{{ .Config.AbsoluteURL }}/_filemanagerinternal/css/styles.css">

View File

@ -1,2 +1 @@
{{ template "content" . }}
<span id="token">{{ .Config.Token }}</span>

View File

@ -20,8 +20,7 @@ type Config struct {
PrefixURL string
BaseURL string
WebDavURL string
Token string // Anti CSRF token
HugoEnabled bool // Enables the Hugo plugin for File Manager
HugoEnabled bool // Enables the Hugo plugin for File Manager
Users map[string]*User
BeforeSave CommandFunc
AfterSave CommandFunc