writes header.html to index.html and the articles