blob: fdf4e735c6d82bfa0d89635d2efb8fff81614995 [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 "unit_files"}}
<div class="UnitFiles js-unitFiles" id="section-sourcefiles">
<h2 class="UnitFiles-title">
<img height="16px" width="12px" src="/static/img/pkg-icon-file_16x12.svg" alt="">Source Files
</h2>
<div class="UnitFiles-titleLink">
<a href="{{.SourceURL}}" target="_blank" rel="noopener">View all</a>
</div>
<div>
<ul class="UnitFiles-fileList">
{{- range .SourceFiles -}}
<li>
<a href="{{.URL}}" target="_blank" rel="noopener" title="{{.Name}}">{{.Name}}</a>
</li>
{{- end -}}
</ul>
</div>
</div>
{{end}}