diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-09-17 16:35:13 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-09-17 16:35:13 -0600 |
commit | a7ce20fee62a52794bf8bf940d0fd1f4134158b1 (patch) | |
tree | 2e4c09dce0d5d3bf65a9bfbdb84faa2566b9ce80 /templates/repo_home.gophermap | |
parent | ce0def95f3924a10b0faceb72aa5df18bf813fb1 (diff) |
protocol-aware README escaping
Diffstat (limited to 'templates/repo_home.gophermap')
-rw-r--r-- | templates/repo_home.gophermap | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/repo_home.gophermap b/templates/repo_home.gophermap index 17f06f7..2ab17c2 100644 --- a/templates/repo_home.gophermap +++ b/templates/repo_home.gophermap @@ -17,4 +17,8 @@ i {{.Selector}} {{.Host}} {{.Port}} i(no commits to show) {{$.Selector}} {{$.Host}} {{$.Port}}
{{ end -}} {{ end -}} +i {{.Selector}} {{.Host}} {{.Port}}
+{{ with .Repo.Readme .Ctx "HEAD" -}} +{{ .GopherEscapedContents $.Selector $.Host $.Port }}
+{{ end -}} .
|