README.texi | 2 +- cmd/sgblog/http.go | 4 +++- common.go | 2 +- diff --git a/README.texi b/README.texi index aee49d0a058a4cc1e7b2e70482b5cbe744c4a0d040b2c1678e3b11380e255e9b..106501c4c4da3951d1b99a8aace1dc7ab1294be0f5c25068e9bade779664a1c3 100644 --- a/README.texi +++ b/README.texi @@ -69,7 +69,7 @@ Comments are posted through the email interface, just by sending the message to special address. For example: @example -$ mutt "mailto:comment@@blog.example.com?subject=576540a5b98517b46d0efc791bb90b9121bf147e" <
{{end}} -{{if .Cfg.CommentsEmail}}[leave comment]{{end}} +{{if .Cfg.CommentsEmail}}[leave comment]{{end}}
{{range $idx, $comment := .Comments}}
comment {{$idx}}:
@@ -785,6 +785,7 @@ err = tmpl.Execute(out, struct { Version string Cfg *Cfg Title string + TitleEscaped string When string AtomCommentsURL string Parent string @@ -797,6 +798,7 @@ }{ Version: sgblog.Version, Cfg: cfg, Title: title, + TitleEscaped: strings.ReplaceAll(title, " ", "%20"), When: when, AtomCommentsURL: atomCommentsURL, Parent: parent, diff --git a/common.go b/common.go index 050954438d8dcb5869788894ddcb0d650cf726a9a2db69f1c4949889da3f9234..c2008d540865569396a7a62ca379bc3a864c7c992e4f3524895749d93318a178 100644 --- a/common.go +++ b/common.go @@ -2,6 +2,6 @@ // SGBlog -- Git-backed CGI/inetd blogging/phlogging engine package sgblog const ( - Version = "0.9.1" + Version = "0.10.0" WhenFmt = "2006-01-02 15:04:05Z07:00" )