Add .gitignore and separate markup into a partial.