From: Sergey Matveev Date: Wed, 6 Oct 2021 13:07:17 +0000 (+0300) Subject: Proper path terminators X-Git-Tag: v0.23.1^0 X-Git-Url: http://www.git.stargrave.org/?p=sgblog.git;a=commitdiff_plain;h=00d5501d16e3b9ece7f3673f74af6381775b6683 Proper path terminators --- diff --git a/cmd/sgblog/http-entry.tmpl b/cmd/sgblog/http-entry.tmpl index 3c7fc0a..1774afe 100644 --- a/cmd/sgblog/http-entry.tmpl +++ b/cmd/sgblog/http-entry.tmpl @@ -21,7 +21,7 @@ {{if .Topics}}
-Topics: {{range .Topics}}[{{.}}]{{end}} +Topics: {{range .Topics}}[{{.}}]{{end}} {{end}}
diff --git a/cmd/sgblog/http-index.tmpl b/cmd/sgblog/http-index.tmpl index 4e012ec..3755e47 100644 --- a/cmd/sgblog/http-index.tmpl +++ b/cmd/sgblog/http-index.tmpl @@ -22,7 +22,7 @@ {{- $Cfg := .Cfg -}} {{if .Topics}}
Topics: [ALL] -{{range .Topics}}[{{.}}] +{{range .Topics}}[{{.}}] {{end}} {{end}} {{- $TopicsEnabled := .TopicsEnabled -}} diff --git a/common.go b/common.go index eaafead..b5c82ed 100644 --- a/common.go +++ b/common.go @@ -15,7 +15,7 @@ import ( ) const ( - Version = "0.23.0" + Version = "0.23.1" WhenFmt = "2006-01-02 15:04:05Z07:00" )