In a template, how do I get what page I\'m currently on? I\'d rather not pass a variable like page , especially when I know some request.xxx can pr
page
request.xxx
First import request from flask in your application. Then you can use it without passing to template:
Home About