diff --git a/docs/ghostream.example.yml b/docs/ghostream.example.yml index f3dde93..7b32c82 100644 --- a/docs/ghostream.example.yml +++ b/docs/ghostream.example.yml @@ -74,6 +74,10 @@ web: # #enabled: true + # Custom CSS stylesheet to change theme + # + #customCss: "" + # Web page favicon, can be .ico, .png or .svg # #favicon: /static/img/favicon.svg diff --git a/web/template/_base.html b/web/template/_base.html index 70ea2d2..78fc1be 100644 --- a/web/template/_base.html +++ b/web/template/_base.html @@ -7,6 +7,7 @@ {{if .Path}}{{if not .Cfg.OneStreamPerDomain}}{{.Path}} - {{end}}{{end}}{{.Cfg.Name}} + {{if .Cfg.CustomCSS}}{{end}} diff --git a/web/web.go b/web/web.go index df7ca97..0f3f47c 100644 --- a/web/web.go +++ b/web/web.go @@ -17,6 +17,7 @@ import ( // Options holds web package configuration type Options struct { Enabled bool + CustomCSS string Favicon string Hostname string ListenAddress string