mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 19:42:20 +00:00
Custom CSS support, fix #10
This commit is contained in:
parent
064e35935d
commit
2ee2ed78a9
@ -74,6 +74,10 @@ web:
|
|||||||
#
|
#
|
||||||
#enabled: true
|
#enabled: true
|
||||||
|
|
||||||
|
# Custom CSS stylesheet to change theme
|
||||||
|
#
|
||||||
|
#customCss: ""
|
||||||
|
|
||||||
# Web page favicon, can be .ico, .png or .svg
|
# Web page favicon, can be .ico, .png or .svg
|
||||||
#
|
#
|
||||||
#favicon: /static/img/favicon.svg
|
#favicon: /static/img/favicon.svg
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
<title>{{if .Path}}{{if not .Cfg.OneStreamPerDomain}}{{.Path}} - {{end}}{{end}}{{.Cfg.Name}}</title>
|
<title>{{if .Path}}{{if not .Cfg.OneStreamPerDomain}}{{.Path}} - {{end}}{{end}}{{.Cfg.Name}}</title>
|
||||||
<link rel="stylesheet" href="static/css/style.css">
|
<link rel="stylesheet" href="static/css/style.css">
|
||||||
<link rel="stylesheet" href="static/css/player.css">
|
<link rel="stylesheet" href="static/css/player.css">
|
||||||
|
{{if .Cfg.CustomCSS}}<link rel="stylesheet" href="{{.Cfg.CustomCSS}}">{{end}}
|
||||||
<link rel="shortcut icon" href="{{.Cfg.Favicon}}">
|
<link rel="shortcut icon" href="{{.Cfg.Favicon}}">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ import (
|
|||||||
// Options holds web package configuration
|
// Options holds web package configuration
|
||||||
type Options struct {
|
type Options struct {
|
||||||
Enabled bool
|
Enabled bool
|
||||||
|
CustomCSS string
|
||||||
Favicon string
|
Favicon string
|
||||||
Hostname string
|
Hostname string
|
||||||
ListenAddress string
|
ListenAddress string
|
||||||
|
Loading…
Reference in New Issue
Block a user