gitdir
<h1><a href="/<%= h @repo.name %>"><%= h @repo.name %></a></h1>
<p class="path">
<a href="/<%= h @repo.name %>/tree/<%= h @ref %>">[root]</a><%= "/ #{path_crumb(@repo.name, @ref, File.dirname(@path))}" if File.dirname(@path) != '.' %>
/ <%= h File.basename(@path) %>
</p>
<p class="meta"><%= human_size(@size) %></p>
<div class="repo-nav">
<a href="/<%= h @repo.name %>/raw/<%= h @ref %>/<%= h @path %>">raw</a>
</div>
<pre><%= h @content %></pre>