cmd/sgblog/main.go | 1 + common.go | 2 +- diff --git a/cmd/sgblog/main.go b/cmd/sgblog/main.go index 3e4ccaaf8ee17f7a5bce76bda3d1319749eb2da079505c09e3b4a08ecd65bdb4..9d2512f6deabb2f8980b2846f7e887e2969c6b07193183e4eb8575ca6113c391 100644 --- a/cmd/sgblog/main.go +++ b/cmd/sgblog/main.go @@ -552,6 +552,7 @@ out.Write([]byte(startHTML(fmt.Sprintf("%s (%s)", title, when), links))) 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 4db0310dbdb0549fd7fcb26a5f6725c04d84ceff0334079c50bf907cb7f67c05..fca7ba10d02cd6e58e9d1b041e652afa0606d7a65bb7a720e5ba6a967a1ccd01 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" )