1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-23 00:22:19 +00:00
ghostream/web/template/_base.html

23 lines
556 B
HTML
Raw Normal View History

2020-09-22 20:08:14 +00:00
{{define "base"}}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>{{if .Path}}{{if not .Cfg.OneStreamPerDomain}}{{.Path}} - {{end}}{{end}}{{.Cfg.Name}}</title>
2020-09-22 20:08:14 +00:00
<link rel="stylesheet" href="static/css/style.css">
2020-10-11 08:54:10 +00:00
<link rel="stylesheet" href="static/css/player.css">
2020-10-11 09:04:40 +00:00
{{if .Cfg.CustomCSS}}<link rel="stylesheet" href="{{.Cfg.CustomCSS}}">{{end}}
2020-09-22 20:08:14 +00:00
<link rel="shortcut icon" href="{{.Cfg.Favicon}}">
</head>
<body>
{{if .Path}}
2020-10-11 08:54:10 +00:00
{{template "player" .}}
2020-09-22 20:08:14 +00:00
{{else}}
{{template "index" .}}
{{end}}
</body>
</html>
{{end}}