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}}
{{$.T.Get "ALL"}}  {{range .Topics}}#{{.}}  {{end}} @@ -48,5 +54,8 @@ {{if .DomainURLs}}{{range .DomainURLs}} {{.}} {{end}}{{else}} {{end}} {{if $TopicsEnabled}}{{if .Topics}}{{range .Topics}} #{{.}} {{end}}{{else}} {{end}}{{end}} {{end}} + +{{template "links" .}} + diff --git a/internal/version.go b/internal/version.go index 3e9166743f643e2c54e776a3c58b882c173c879a78209d040c41aec43a9ee74d..e1e7ea7cf4be9f469ae6c1951e317a146a325813b3740c111d1fed45e3470908 100644 --- a/internal/version.go +++ b/internal/version.go @@ -1,3 +1,3 @@ package internal -const Version = "0.40.0" +const Version = "0.41.0"