cmd/sgblog/http.go | 11 ++++-------
diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go
index 4446e9b657ff540d8522defe95e7b799b871425b95fb01ff91f6deb9f1b69a48..d959be31cf9fcaf75930f5e4cec148865feb4ab18c5bc1049909daaf2cf22127 100644
--- a/cmd/sgblog/http.go
+++ b/cmd/sgblog/http.go
@@ -352,12 +352,12 @@ href = cfg.URLPrefix + "/?offset=" + strconv.Itoa(offsetPrev)
} else {
href = cfg.URLPrefix + "/"
}
- links = append(links, ``)
+ links = append(links, ``)
refs.WriteString("\n" + makeA(href, "[prev]"))
}
if !logEnded {
href = cfg.URLPrefix + "/?offset=" + strconv.Itoa(offset+PageEntries)
- links = append(links, ``)
+ links = append(links, ``)
refs.WriteString("\n" + makeA(href, "[next]"))
}
@@ -470,7 +470,7 @@ links := []string{}
var parent string
if len(commit.ParentHashes) > 0 {
parent = commit.ParentHashes[0].String()
- links = append(links, ``)
+ links = append(links, ``)
}
out.Write([]byte(startHTML(fmt.Sprintf("%s (%s)", title, when), links)))
if cfg.AboutURL != "" {
@@ -478,10 +478,7 @@ 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",
- makeA(cfg.URLPrefix+"/"+parent, "older"),
- )))
+ out.Write([]byte(fmt.Sprintf("[%s]\n", makeA(cfg.URLPrefix+"/"+parent, "prev"))))
}
out.Write([]byte(fmt.Sprintf(
"[%s]\n"+