loading blog posts from db and pre-compiling blog posts