add posts and notes-index to blog code