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/repo_root.gph | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 templates/repo_root.gph (limited to 'templates/repo_root.gph') diff --git a/templates/repo_root.gph b/templates/repo_root.gph new file mode 100644 index 0000000..35592a4 --- /dev/null +++ b/templates/repo_root.gph @@ -0,0 +1,7 @@ +iRepositories {{.Selector}} {{.Host}} {{.Port}} +i------------ {{.Selector}} {{.Host}} {{.Port}} +i {{.Selector}} {{.Host}} {{.Port}} +{{ range .Repos -}} +1{{.}} {{$.Selector}}/{{.}} {{$.Host}} {{$.Port}} +{{ end -}} +. -- cgit v1.2.3