{% extends 'base.html' %} {% block title %} foo/bar {% endblock %} {% block content %} <p> {{ url_for('test1.bp_foo') }} </p> {% endblock %}