gitignore: ignore generated files like pregen.py and templates.js.