Something went wrong. Try again.
A public git mirror
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132{{define "content" -}}{{template "repohead" .}}{{template "crumbs" (dict "C" .Crumbs)}}<section class="box"> <div class="box-head file-head"> {{ficon .Name "blob"}}<span class="file-name">{{.Name}}</span> <span class="file-stats">{{size .Size}}{{with .Lines}} · {{len .}} line{{if ne (len .) 1}}s{{end}}{{end}}</span> {{- with .Raw}} <span class="button-group"> <a class="button button--small" id="file-raw" href="{{.}}">{{template "icon" "download"}}Raw</a> {{- if $.Copy}}<button class="button button--small button--copy" type="button" data-copy="file-raw" hidden title="Copy file">{{template "icon" "copy"}}{{template "icon" "check"}}<span class="sr-only">Copy file</span></button>{{end}} </span> {{- end}} </div> {{- if .Lines}} <pre class="code"><code> {{- range $i, $l := .Lines}}{{$n := inc $i}}<span class="line" id="L{{$n}}"><a class="ln" href="#L{{$n}}" aria-hidden="true">{{$n}}</a>{{$l}}</span>{{end -}} </code></pre> {{- else if and .Image .Raw}} <div class="box-note file-image"><img src="{{.Raw}}" alt="{{.Path}}"></div> {{- else if not .Raw}} <p class="box-note">This file is too large to show here. Clone the repository to get it.</p> {{- else if .Binary}} <p class="box-note">Binary file, not shown. Use the raw link to download it.</p> {{- else if .Large}} <p class="box-note">This file is too large to show here. Use the raw link to view it.</p> {{- else}} <p class="box-note">Empty file.</p> {{- end}}</section>{{- end}}