mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
@@ -492,7 +492,13 @@ func (h *HugoSites) setupTranslations() {
|
||||
}
|
||||
}
|
||||
|
||||
func (s *Site) preparePagesForRender(cfg *BuildCfg) {
|
||||
func (s *Site) preparePagesForRender(outFormatIdx int, cfg *BuildCfg) {
|
||||
|
||||
if outFormatIdx > 0 {
|
||||
// TODO(bep) for now
|
||||
return
|
||||
}
|
||||
|
||||
pageChan := make(chan *Page)
|
||||
wg := &sync.WaitGroup{}
|
||||
numWorkers := getGoMaxProcs() * 4
|
||||
|
Reference in New Issue
Block a user