X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=cmd%2Fsgblog%2Fhttp.go;h=808c3d99fd687b8c025114ea6ecb80c030bd2fc4;hb=6411c9756acff5a303b7d1920824bc38b2cd60d9;hp=4712a50f13584b98a81542a1d71cdd69c44307df;hpb=20fef0b0b7ceb5523802d2bb842be82ef4d91e3e;p=sgblog.git diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go index 4712a50..808c3d9 100644 --- a/cmd/sgblog/http.go +++ b/cmd/sgblog/http.go @@ -142,7 +142,7 @@ Topics: {{range .Topics}}[{{.}} {{end}}
{{end}} -{{if .Cfg.CommentsEmail}}[leave comment]{{end}} +{{if .Cfg.CommentsEmail}}[leave comment]{{end}}
{{range $idx, $comment := .Comments}}
comment {{$idx}}:
@@ -798,7 +798,7 @@ func serveHTTP() { Version: sgblog.Version, Cfg: cfg, Title: title, - TitleEscaped: strings.ReplaceAll(title, " ", "%20"), + TitleEscaped: url.PathEscape(fmt.Sprintf("Re: %s (%s)", title, commit.Hash)), When: when, AtomCommentsURL: atomCommentsURL, Parent: parent,