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