parent
1c114dedc7
commit
70924d4f13
|
@ -5,7 +5,6 @@
|
||||||
<title>{{.Name}}</title>
|
<title>{{.Name}}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
|
||||||
<meta charset="utf-8">
|
<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/normalize.css">
|
||||||
<link rel="stylesheet" href="{{ .Config.AbsoluteURL }}/_filemanagerinternal/css/fonts.css">
|
<link rel="stylesheet" href="{{ .Config.AbsoluteURL }}/_filemanagerinternal/css/fonts.css">
|
||||||
<link rel="stylesheet" href="{{ .Config.AbsoluteURL }}/_filemanagerinternal/css/styles.css">
|
<link rel="stylesheet" href="{{ .Config.AbsoluteURL }}/_filemanagerinternal/css/styles.css">
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
{{ template "content" . }}
|
{{ template "content" . }}
|
||||||
<span id="token">{{ .Config.Token }}</span>
|
|
||||||
|
|
|
@ -20,8 +20,7 @@ type Config struct {
|
||||||
PrefixURL string
|
PrefixURL string
|
||||||
BaseURL string
|
BaseURL string
|
||||||
WebDavURL 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
|
Users map[string]*User
|
||||||
BeforeSave CommandFunc
|
BeforeSave CommandFunc
|
||||||
AfterSave CommandFunc
|
AfterSave CommandFunc
|
||||||
|
|
Loading…
Reference in New Issue