hugolib: Bug fix futureStats
authorHanchen Wang <hanchen.wang@mail.utoronto.ca>
Thu, 19 May 2016 19:15:03 +0000 (15:15 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 14 Jun 2016 13:45:26 +0000 (15:45 +0200)
hugolib/site.go

index b803864b1c80191cc4f11c8c52cce5651611a864..bc43ebc79dbca88ed4d6a5c50d1a42e63b8d24e2 100644 (file)
@@ -2162,7 +2162,7 @@ func (s *Site) futureStats() string {
        case 1:
                msg = "1 future rendered"
        default:
-               msg = fmt.Sprintf("%d future rendered", s.draftCount)
+               msg = fmt.Sprintf("%d future rendered", s.futureCount)
        }
 
        if viper.GetBool("BuildFuture") {