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