From: Sergey Matveev Date: Wed, 5 Feb 2020 10:36:49 +0000 (+0300) Subject: Index URL X-Git-Tag: v0.3.4^0 X-Git-Url: http://www.git.stargrave.org/?p=sgblog.git;a=commitdiff_plain;h=66ed6a8a8481c340e620f998f45847715263656c 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" )