From: Sergey Matveev <stargrave@stargrave.org>
Date: Wed, 5 Feb 2020 10:36:49 +0000 (+0300)
Subject: Index URL
X-Git-Tag: v0.3.4
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d66c70da8e2faad1e29cb52c3b9fa943f68acc74;p=sgblog.git

Index URL
---

diff --git a/cmd/sgblog/main.go b/cmd/sgblog/main.go
index fc99775..e8752a4 100644
--- a/cmd/sgblog/main.go
+++ b/cmd/sgblog/main.go
@@ -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",
diff --git a/common.go b/common.go
index e6bc9e5..9b73465 100644
--- 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"
 )