From ce0def95f3924a10b0faceb72aa5df18bf813fb1 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sun, 17 Sep 2023 14:00:03 -0600 Subject: GOPHER --- templates/branch_list.gophermap | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 templates/branch_list.gophermap (limited to 'templates/branch_list.gophermap') diff --git a/templates/branch_list.gophermap b/templates/branch_list.gophermap new file mode 100644 index 0000000..cd238ad --- /dev/null +++ b/templates/branch_list.gophermap @@ -0,0 +1,9 @@ +i{{.Repo.Name}} Branches ⌥ {{.Selector}} {{.Host}} {{.Port}} +i{{ range .Repo.NameBytes }}-{{ end }}----------- {{.Selector}} {{.Host}} {{.Port}} +i {{.Selector}} {{.Host}} {{.Port}} +{{ range .Repo.Refs .Ctx -}} +{{ if .IsBranch -}} +1{{.ShortName}} {{combine $.Selector "refs/" .Hash}} {{$.Host}} {{$.Port}} +{{ end -}} +{{ end -}} +. -- cgit v1.2.3