Modifying static template and migrating pages into new format