summaryrefslogtreecommitdiff
path: root/templates/repo_root.gph
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-09-23 13:10:27 -0600
committertjpcc <tjp@ctrl-c.club>2023-09-23 13:10:27 -0600
commit32f84de36c9da1da47b718cb942afa36d1b23922 (patch)
treeb2b57235f867ab33279a3f7d9987501461360681 /templates/repo_root.gph
parentd59ed1060d354ce911da1e7fb19f651feeafa2c1 (diff)
use .gmi, .gmi.txt, .gph, .gph.txt everywhere for templates
Diffstat (limited to 'templates/repo_root.gph')
-rw-r--r--templates/repo_root.gph7
1 files changed, 7 insertions, 0 deletions
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 -}}
+.