Writes header.html and the artciles but not footer.html