flask / examples / blueprintexample / simple_page / templates / pages / layout.html

<!doctype html>
<title>Simple Page Blueprint</title>
<div class=page>
  <h1>This is blueprint example</h1>
    A simple page blueprint is registered under / and /pages
    you can access it using this urls:
    <li><a href="{{ url_for('', page='hello') }}">/hello</a>
    <li><a href="{{ url_for('', page='world') }}">/world</a>
    Also you can register the same blueprint under another path
    <li><a href="/pages/hello">/pages/hello</a>
    <li><a href="/pages/world">/pages/world</a>

  {% block body %}{% endblock %}