aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemblob.qtpl
blob: 89d002d2521e4b56c31db6811d137186f830614e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% code
type GitItemBlobPage struct {
    File string
    Content []byte
}
%}

{% func (g *GitItemBlobPage) Nav(name, ref string) %}{%= GitItemNav(name, ref, Tree) %}{% endfunc %}

{% func (g *GitItemBlobPage) GitContent() %}
<div class="code-view">
{%z= g.Content %}
</div>
{% endfunc %}