Added logic for direct links to blogs