1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 18:02:06 +02:00

Custom CSS support, fix #10

This commit is contained in:
Alexandre Iooss
2020-10-11 11:04:40 +02:00
parent 064e35935d
commit 2ee2ed78a9
3 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,7 @@
<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/player.css">
{{if .Cfg.CustomCSS}}<link rel="stylesheet" href="{{.Cfg.CustomCSS}}">{{end}}
<link rel="shortcut icon" href="{{.Cfg.Favicon}}">
</head>

View File

@ -17,6 +17,7 @@ import (
// Options holds web package configuration
type Options struct {
Enabled bool
CustomCSS string
Favicon string
Hostname string
ListenAddress string