Allow omitting the header from the template

This is necessary for the chromeless template in static.