Merge EJS templates to one index file.