Refactored the project html out to a template