Refactoring "boilerplate" HTML into a base template. Resolves #41