26 lines
733 B
Cheetah
26 lines
733 B
Cheetah
{{define "base"}}
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{{template "title" .}} - Snippetbox</title>
|
|
<link rel="stylesheet" href="/static/css/main.css">
|
|
<link rel="shortcut icon" href="/static/img/favicon.ico" type="image/x-icon">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1><a href="/">Snippetbox</a></h1>
|
|
</header>
|
|
{{template "nav" .}}
|
|
<main>
|
|
{{template "main" .}}
|
|
</main>
|
|
<footer>
|
|
Powered by <a href="https://golang.org">Go</a> in {{.CurrentYear}}
|
|
</footer>
|
|
<script src="/static/js/main.js" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|
|
{{end}}
|