josie / simplegit

{{define "title"}}{{.Path}} · {{.Owner}}/{{.RepoName}} · simplegit{{end}}
{{define "content"}}
{{template "repo_nav" .}}
<div class="repo-layout">
  <nav class="file-tree-pane">{{template "filetree" .Tree}}</nav>
  <div class="repo-content">
    <p class="breadcrumb muted">{{.Ref}} / {{.Path}} · {{.Size}} bytes · <a href="{{.RawHref}}">raw</a></p>
    {{if .Notice}}<p class="error">{{.Notice}}</p>{{end}}
    {{if .CodeHTML}}<article>{{.CodeHTML}}</article>{{else if .RawText}}<pre>{{.RawText}}</pre>{{end}}
  </div>
</div>
{{end}}