def index(): random_books = Book.get_random() return render_template('index.html', title='Literapy', explore_books=random_books)