+ New

fierj

Public

Tiny personal git forge

← fierj / templates / blob.html
{{template "head" .}}
{{define "title"}}{{.Path}} - {{.Repo}} - fierj{{end}}
{{template "repo-header" .}}
{{template "repo-tabs" .}}
<div style="margin-bottom:var(--space-md);font-size:0.85rem;color:var(--text-secondary);">
    <a href="/{{.Repo}}/tree/{{.Ref}}">← {{.Repo}}</a>
    {{range .Breadcrumb}} / <a href="/{{$.Repo}}/tree/{{$.Ref}}/{{.URL}}">{{.Name}}</a>{{end}}
</div>
{{if or (hasSuffix .Path ".md") (hasSuffix .Path ".markdown")}}
<div class="readme-box">
    <div class="readme-box-header">{{.Path}}</div>
    <div class="readme-box-body markdown-body">{{.Content}}</div>
</div>
{{else}}
<pre><code>{{.Content}}</code></pre>
{{end}}
{{template "foot" .}}