Reformat HTML template for Pelican