2020-09-22 20:08:14 +00:00
|
|
|
{{define "base"}}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="fr">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2020-10-13 15:12:19 +00:00
|
|
|
<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}}
|