diff --git a/_embed/templates/base.tmpl b/_embed/templates/base.tmpl index bdd7d4a0..e4327800 100644 --- a/_embed/templates/base.tmpl +++ b/_embed/templates/base.tmpl @@ -5,7 +5,6 @@ {{.Name}} - diff --git a/_embed/templates/minimal.tmpl b/_embed/templates/minimal.tmpl index 933c258f..66e0068d 100644 --- a/_embed/templates/minimal.tmpl +++ b/_embed/templates/minimal.tmpl @@ -1,2 +1 @@ {{ template "content" . }} -{{ .Config.Token }} diff --git a/config/config.go b/config/config.go index be0d8388..d6124bb1 100644 --- a/config/config.go +++ b/config/config.go @@ -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