ghostream/web/template/_base.html

24 lines
604 B
HTML
Raw Permalink Normal View History

2020-09-22 20:08:14 +00:00
{{define "base"}}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
2020-10-20 07:24:56 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{if .Path}}{{.Path}} - {{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}}