]> Sergey Matveev's repositories - sgblog.git/commitdiff
Proper path terminators v0.23.1
authorSergey Matveev <stargrave@stargrave.org>
Wed, 6 Oct 2021 13:07:17 +0000 (16:07 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 6 Oct 2021 13:07:17 +0000 (16:07 +0300)
cmd/sgblog/http-entry.tmpl
cmd/sgblog/http-index.tmpl
common.go

index 3c7fc0a3442ff3a053e2f3e2125652b1065c71f3..1774afed874fc87b513e67704029943dc18ef716 100644 (file)
@@ -21,7 +21,7 @@
 
 {{if .Topics}}
 <hr/>
-Topics: {{range .Topics}}[<tt><a href="{{$Cfg.URLPrefix}}?topic={{.}}">{{.}}</a></tt>]{{end}}
+Topics: {{range .Topics}}[<tt><a href="{{$Cfg.URLPrefix}}/?topic={{.}}">{{.}}</a></tt>]{{end}}
 {{end}}
 
 <hr/>
index 4e012ec14c3e0f780d966322bdc4cc7c71994cc2..3755e472925c6160d57308310cd4408f68459cf2 100644 (file)
@@ -22,7 +22,7 @@
 {{- $Cfg := .Cfg -}}
 {{if .Topics}}<hr/>
 Topics: [<tt><a href="{{$Cfg.URLPrefix}}/">ALL</a></tt>]
-{{range .Topics}}[<tt><a href="{{$Cfg.URLPrefix}}?topic={{.}}">{{.}}</a></tt>]
+{{range .Topics}}[<tt><a href="{{$Cfg.URLPrefix}}/?topic={{.}}">{{.}}</a></tt>]
 {{end}}
 {{end}}
 {{- $TopicsEnabled := .TopicsEnabled -}}
index eaafeadb65d173542e2acb17eb394ca2bf2ae036..b5c82ed70083ed5b07d0987a8a40647f48c18426 100644 (file)
--- 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"
 )