tube/templates/base.html

29 lines
726 B
HTML
Raw Normal View History

2020-03-21 13:34:37 +03:00
{{define "base"}}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" type="text/css" href="/static/theme.css">
{{ template "stylesheets" . }}
{{ template "css" . }}
<title>Tube</title>
</head>
<body>
<nav>
<a href="/">Tube</a>
<a class="centered" href="/upload">Upload</a>
2020-03-21 13:34:37 +03:00
</nav>
<main>
{{template "content" .}}
</main>
</body>
{{ template "scripts" . }}
</html>
{{end}}
{{ define "css" }}{{ end }}
{{ define "scripts" }}{{ end }}
{{ define "stylesheets" }}{{ end }}