diff --git a/hugolib/site.go b/hugolib/site.go index b61397a99..9f750c1a1 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1593,9 +1593,9 @@ func (s *Site) futureStats() string { switch s.futureCount { case 0: - return "0 future content " + return "0 future content" case 1: - msg = "1 future rendered " + msg = "1 future rendered" default: msg = fmt.Sprintf("%d future rendered", s.draftCount) } diff --git a/hugolib/site_test.go b/hugolib/site_test.go index 6ee9287cf..19df704d6 100644 --- a/hugolib/site_test.go +++ b/hugolib/site_test.go @@ -323,9 +323,9 @@ func doTestCrossrefs(t *testing.T, relative, uglyUrls bool) { // Issue #1148: Make sure that no P-tags is added around shortcodes. {filepath.FromSlash("sect/doc2.md"), []byte(fmt.Sprintf(`**Ref 1:** - + {{< %s "sect/doc1.md" >}} - + THE END.`, refShortcode))}, }