Only generate board HTML if generateHtml is true.

Drastically improves the speed of saving.

Change-Id: I6776a9ba621c41fc097330eb49536392a7135cb7
Merge "Only generate board HTML if generateHtml is true."