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
2020-10-04 18:00:20 +02:00

21 lines
421 B
HTML

{{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="shortcut icon" href="{{.Cfg.Favicon}}">
</head>
<body>
{{if .Path}}
{{template "viewer" .}}
{{else}}
{{template "index" .}}
{{end}}
</body>
</html>
{{end}}