Fix for #21

I've changed a few file templates. Let me know if I've missed anything crucial.

Also, I've fixed the whitespace in `index.html` to match the rest of the files (soft indent, 2 spaces).