diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-09-23 13:10:27 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-09-23 13:10:27 -0600 |
commit | 32f84de36c9da1da47b718cb942afa36d1b23922 (patch) | |
tree | b2b57235f867ab33279a3f7d9987501461360681 /templates/repo_home.gophermap | |
parent | d59ed1060d354ce911da1e7fb19f651feeafa2c1 (diff) |
use .gmi, .gmi.txt, .gph, .gph.txt everywhere for templates
Diffstat (limited to 'templates/repo_home.gophermap')
-rw-r--r-- | templates/repo_home.gophermap | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/templates/repo_home.gophermap b/templates/repo_home.gophermap deleted file mode 100644 index 2ab17c2..0000000 --- a/templates/repo_home.gophermap +++ /dev/null @@ -1,24 +0,0 @@ -i{{.Repo.Name}} {{.Selector}} {{.Host}} {{.Port}}
-i{{ range .Repo.NameBytes }}-{{ end }} {{.Selector}} {{.Host}} {{.Port}}
-i {{.Selector}} {{.Host}} {{.Port}}
-i{{.Repo.Description}} {{.Selector}} {{.Host}} {{.Port}}
-i {{.Selector}} {{.Host}} {{.Port}}
-1⌥ Branches {{.Selector}}/branches {{.Host}} {{.Port}}
-1🏷️ Tags {{.Selector}}/tags {{.Host}} {{.Port}}
-1📄 Files {{.Selector}}/refs/HEAD/tree {{.Host}} {{.Port}}
-i {{.Selector}} {{.Host}} {{.Port}}
-iLatest Commits: {{.Selector}} {{.Host}} {{.Port}}
-i {{.Selector}} {{.Host}} {{.Port}}
-{{ with .Repo.Commits .Ctx "HEAD" 5 -}} -{{ range . -}} -1{{.ShortMessage}} {{$.Selector}}/refs/{{.Hash}} {{$.Host}} {{$.Port}}
-{{ end -}} -{{ if len . | eq 0 -}} -i(no commits to show) {{$.Selector}} {{$.Host}} {{$.Port}}
-{{ end -}} -{{ end -}} -i {{.Selector}} {{.Host}} {{.Port}}
-{{ with .Repo.Readme .Ctx "HEAD" -}} -{{ .GopherEscapedContents $.Selector $.Host $.Port }}
-{{ end -}} -.
|