summaryrefslogtreecommitdiff
path: root/templates/repo_home.gmi
blob: a2af51447bf66872d51e28603341a881bac79a49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# {{.Repo.Name}}

{{.Repo.Description}}

=> ./branches ⌥ Branches
=> ./tags 🏷️Tags
=> ./refs/HEAD/tree/ 📄 Files

## Latest Commits

{{ with .Repo.Commits .Ctx "HEAD" 5 -}}
{{ range . -}}
=> ./refs/{{.Hash}}/ {{.ShortMessage}}
{{ end -}}
{{ if len . | eq 0 -}}
(no commits to show)
{{ end -}}
{{ end }}

{{ with .Repo.Readme .Ctx "HEAD" -}}
{{ if len .RawContents | ne 0 -}}
## {{.Filename}}

```{{.Filename}} contents
{{.EscapedContents}}
```
{{ end -}}
{{ end }}