Updated blog tag loop for active state