]> Sergey Matveev's repositories - sgblog.git/commitdiff
Index URL v0.3.4
authorSergey Matveev <stargrave@stargrave.org>
Wed, 5 Feb 2020 10:36:49 +0000 (13:36 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 5 Feb 2020 10:36:49 +0000 (13:36 +0300)
cmd/sgblog/main.go
common.go

index fc99775e24d1ebcecdd01b2b4ee1e8ebdd24dd78..e8752a4f13ce132e8a628e9a1231ce6e2f6926e6 100644 (file)
@@ -552,6 +552,7 @@ func main() {
                if cfg.AboutURL != "" {
                        out.Write([]byte(fmt.Sprintf("[%s]\n", makeA(cfg.AboutURL, "about"))))
                }
+               out.Write([]byte(fmt.Sprintf("[%s]\n", makeA(cfg.URLPrefix+"/", "index"))))
                if parent != "" {
                        out.Write([]byte(fmt.Sprintf(
                                "[%s]\n",
index e6bc9e529626ae657307d97a20a8f29da03f9ee7..9b73465bbd5f80e5a772251ca39f015b7431ab4d 100644 (file)
--- a/common.go
+++ b/common.go
@@ -3,5 +3,5 @@ package sgblog
 
 const (
        WhenFmt = "2006-01-02 15:04:05Z07:00"
-       Version = "0.3.3"
+       Version = "0.3.4"
 )