summaryrefslogtreecommitdiff
path: root/templates/branch_list.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'templates/branch_list.gmi')
-rw-r--r--templates/branch_list.gmi7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/branch_list.gmi b/templates/branch_list.gmi
new file mode 100644
index 0000000..2a2e99e
--- /dev/null
+++ b/templates/branch_list.gmi
@@ -0,0 +1,7 @@
+# {{.Repo.Name}} Branches ⌥
+
+{{ range .Repo.Refs .Ctx -}}
+{{ if .IsBranch -}}
+=> ./refs/{{.Hash}}/ {{.ShortName}}
+{{ end -}}
+{{ end -}}