diff --git a/internal/config/config.go b/internal/config/config.go
index 3bd5daf8..5fd61ad8 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -66,6 +66,7 @@ type Config struct {
Actions []Action `mapstructure:"actions"`
Entities []Entity `mapstructure:"entities"`
CheckForUpdates bool
+ PageTitle string
ShowFooter bool
ShowNavigation bool
ShowNewVersions bool
@@ -79,6 +80,7 @@ type Config struct {
func DefaultConfig() *Config {
config := Config{}
config.UseSingleHTTPFrontend = true
+ config.PageTitle = "OliveTin"
config.ShowFooter = true
config.ShowNavigation = true
config.ShowNewVersions = true
diff --git a/internal/httpservers/webuiServer.go b/internal/httpservers/webuiServer.go
index 25cafc76..14d96dc8 100644
--- a/internal/httpservers/webuiServer.go
+++ b/internal/httpservers/webuiServer.go
@@ -19,6 +19,8 @@ type webUISettings struct {
ShowNewVersions bool
AvailableVersion string
CurrentVersion string
+ PageTitle string
+
}
func findWebuiDir() string {
@@ -52,6 +54,7 @@ func generateWebUISettings(w http.ResponseWriter, r *http.Request) {
ShowNewVersions: cfg.ShowNewVersions,
AvailableVersion: updatecheck.AvailableVersion,
CurrentVersion: updatecheck.CurrentVersion,
+ PageTitle: cfg.PageTitle,
})
_, err := w.Write([]byte(jsonRet))
diff --git a/webui/index.html b/webui/index.html
index a9ff8362..9e2fdf2f 100644
--- a/webui/index.html
+++ b/webui/index.html
@@ -16,6 +16,23 @@
+
+
+
OliveTin
+
+
+
+