{{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>
  <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}}