Preferences
-
- Preferences saved successfully!
-
- {{end}}
- diff --git a/handlers/preferences.go b/handlers/preferences.go index b26b26c..53d658b 100644 --- a/handlers/preferences.go +++ b/handlers/preferences.go @@ -69,6 +69,7 @@ func PreferencesHandler(app *App) http.HandlerFunc { BasePath: app.Config.ThreadrDir, StaticPath: app.Config.ThreadrDir + "/static", CurrentURL: r.URL.Path, + ContentTemplate: "preferences-content", }, Preferences: prefs, ShowSuccess: showSuccess, diff --git a/templates/pages/preferences.html b/templates/pages/preferences.html index 2b212b2..6047c61 100644 --- a/templates/pages/preferences.html +++ b/templates/pages/preferences.html @@ -1,38 +1,26 @@ -{{define "preferences"}} - - -
-