Set up blog api query for front page