blob: e3a23528b99c00ebbc2b87128e0e9f94ae87c299 [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 "robots"}}
<meta name="robots" content="noindex">
{{end}}
{{define "main-styles"}}
<link href="/static/frontend/unit/licenses/licenses.min.css?version={{.AppVersionLabel}}" rel="stylesheet">
{{end}}
{{define "main-header"}}
{{template "unit-header" .}}
{{end}}
{{define "main-content"}}
{{block "licenses" .Details}}{{end}}
{{end}}
{{define "licenses"}}
{{range .Licenses}}
<section class="License" id="{{.Anchor}}">
<h2 class="go-textTitle">
<div id="#{{.Anchor}}">{{range $i, $e := .Types}}{{if $i}}, {{end}}{{$e}}{{end}}</div>
</h2>
<p>This is not legal advice. <a href="/license-policy">Read disclaimer.</a></p>
<pre class="License-contents">{{printf "%s" .Contents}}</pre>
</section>
<div class="License-source go-textSubtle">Source: {{.Source}}</div>
{{end}}
{{end}}