1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-23 06:12:20 +00:00
ghostream/web/template/base.tmpl

19 lines
394 B
Cheetah
Raw Normal View History

2020-09-21 15:29:50 +00:00
{{define "base"}}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
2020-09-22 09:42:57 +00:00
<title>{{if .Path}}{{.Path}} - {{end}}{{.Cfg.Name}}</title>
2020-09-21 15:29:50 +00:00
<link rel="stylesheet" href="static/style.css">
<link rel="shortcut icon" href="static/favicon.ico">
</head>
<body>
{{if .Path}}
{{template "viewer" .}}
{{else}}
{{template "index" .}}
{{end}}
</body>
</html>
{{end}}