Edited templates to fix HTML errors.