fixed permalink on index.html and added posts.html; other fixes