cmd/sgblog/http-index.tmpl | 11 ++++++++++- internal/version.go | 2 +- diff --git a/cmd/sgblog/http-index.tmpl b/cmd/sgblog/http-index.tmpl index 1cd33896f7b0cf98ab8bba14dfa1607a534021bb65a8b487513ac754e24bd0aa..d4289d886e5c06800b37bfb885c821a923922d5186b6e42f7da5dfa3806e9486 100644 --- a/cmd/sgblog/http-index.tmpl +++ b/cmd/sgblog/http-index.tmpl @@ -15,7 +15,13 @@ {{if .Offset}}{{end}} {{if not .LogEnded}}{{end}}
-{{if .Topics}} + +{{block "links" .}} +{{if .Offset}}[{{$.T.Get "prev"}}]{{end}} +{{if not .LogEnded}}[{{$.T.Get "next"}}]{{end}} +{{end}} + +{{if .Topics}}