fix #2 Process index.html as a template

Close #3