small fixes

updated homepage code
code updates to blogs

moved blog code to single class