From 32f84de36c9da1da47b718cb942afa36d1b23922 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 23 Sep 2023 13:10:27 -0600 Subject: use .gmi, .gmi.txt, .gph, .gph.txt everywhere for templates --- templates/tree.gophermap | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 templates/tree.gophermap (limited to 'templates/tree.gophermap') diff --git a/templates/tree.gophermap b/templates/tree.gophermap deleted file mode 100644 index ed9c1e7..0000000 --- a/templates/tree.gophermap +++ /dev/null @@ -1,9 +0,0 @@ -{{ with .Repo.Commit .Ctx .Params.ref -}} -i{{slice .Hash 0 8}}:{{ if ne $.Params.path "" }}{{$.Params.path}}{{ else }}/{{ end }} {{$.Selector}} {{$.Host}} {{$.Port}} -i {{$.Selector}} {{$.Host}} {{$.Port}} -{{ end -}} -1{{ if ne .Params.path "" }}../{{ else }}Commit{{ end }} {{join $.Selector ".."}} {{$.Host}} {{$.Port}} -{{ range .Repo.Tree .Ctx $.Params.ref $.Params.path -}} -{{ if eq .Type "blob" }}0📄 {{ else }}1📂 {{ end }}{{.Path}} {{join $.Selector .Path}} {{$.Host}} {{$.Port}} -{{ end -}} -. -- cgit v1.2.3