feature(config) add paginate_path
feature(index) add condition about previous