Fix template tag blocks for project generation.