blob: 753780f7ded06e4b2d69136dcc2ff2e2259a87c8 [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 "pre_content"}}
<link href="/static/css/unit.css?version={{.AppVersionLabel}}" rel="stylesheet">
{{block "unit_pre_content" .}}{{end}}
<link href="/static/css/unit_outline.css?version={{.AppVersionLabel}}" rel="stylesheet">
{{end}}
{{define "main_content"}}
<div class="Container">
{{block "unit_header" .}}{{end}}
{{block "unit_fixed_header" .}}{{end}}
{{block "unit_content" .}}{{end}}
</div>
{{end}}
{{define "post_content"}}
<div class="js-canonicalURLPath" data-canonical-url-path="{{.CanonicalURLPath}}" hidden />
<script>
loadScript('/static/js/keyboard.js', {type: 'module', async: true, defer: true})
loadScript('/static/js/unit.js', {type: 'module', async: true, defer: true})
loadScript('/static/js/unit_fixed_header.js', {type: 'module', async: true, defer: true})
</script>
{{block "unit_post_content" .}}{{end}}
{{end}}