blob: a8be183cafb809511699748c48a594b6646f2b4d [file] [log] [blame]
<!--
Copyright 2020 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
{{define "layout"}}
<!DOCTYPE html>
<html lang="en">
<title>{{.SiteHeader.Title}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="{{baseLink "/static/styles.css"}}" />
<script async defer src="{{baseLink "/static/site.js"}}"></script>
<body class="Site">
<header class="Site-header {{.SiteHeader.CSSClass}}">
<div class="Header">
<h1 class="Header-title">{{.SiteHeader.Title}}</h1>
</div>
</header>
<main class="Site-content">
{{block "content" .}}{{end}}
</main>
</body>
</html>
{{end}}