1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 10:22:19 +00:00
ghostream/web/template/_base.html
2020-10-20 09:24:56 +02:00

24 lines
604 B
HTML

{{define "base"}}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{if .Path}}{{.Path}} - {{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>
<body>
{{if .Path}}
{{template "player" .}}
{{else}}
{{template "index" .}}
{{end}}
</body>
</html>
{{end}}