Skip to content
This repository
Browse code

Removed unnecessary end-tags and fixed some broken html

commit 61d43c7f1269d9dafb40d4483cf88c7e32e95edc 1 parent 823bebf
Armin Ronacher authored
4 examples/blueprintexample/simple_page/templates/pages/hello.html
... ... @@ -1,5 +1,5 @@
1 1 {% extends "pages/layout.html" %}
2 2
3 3 {% block body %}
4   - Hello
5   -{% endblock %}
  4 + Hello
  5 +{% endblock %}
4 examples/blueprintexample/simple_page/templates/pages/index.html
... ... @@ -1,5 +1,5 @@
1 1 {% extends "pages/layout.html" %}
2 2
3 3 {% block body %}
4   - Blueprint example page
5   -{% endblock %}
  4 + Blueprint example page
  5 +{% endblock %}
31 examples/blueprintexample/simple_page/templates/pages/layout.html
@@ -3,23 +3,18 @@
3 3 <div class=page>
4 4 <h1>This is blueprint example</h1>
5 5 <p>
6   - A simple page blueprint is registered under / and /pages<br/>
7   - you can access it using this urls:
8   - <ul>
9   - <li><a href="{{ url_for('simple_page.show', page='hello') }}">/hello</a></li>
10   - <li><a href="{{ url_for('simple_page.show', page='world') }}">/world</a></li>
11   - </ul>
12   - </p>
  6 + A simple page blueprint is registered under / and /pages
  7 + you can access it using this urls:
  8 + <ul>
  9 + <li><a href="{{ url_for('simple_page.show', page='hello') }}">/hello</a>
  10 + <li><a href="{{ url_for('simple_page.show', page='world') }}">/world</a>
  11 + </ul>
13 12 <p>
14   - Also you can register the same blueprint under another path
15   - <ul>
16   - <li><a href="/pages/hello">/pages/hello</a></li>
17   - <li><a href="/pages/world">/pages/world</a></li>
18   - </ul>
19   - </p>
20   -
  13 + Also you can register the same blueprint under another path
  14 + <ul>
  15 + <li><a href="/pages/hello">/pages/hello</a>
  16 + <li><a href="/pages/world">/pages/world</a>
  17 + </ul>
21 18
22   -
23   - {% block body %}
24   - {% endblock %}
25   -</div>
  19 + {% block body %}{% endblock %}
  20 +</div>
5 examples/blueprintexample/simple_page/templates/pages/world.html
... ... @@ -1,5 +1,4 @@
1 1 {% extends "pages/layout.html" %}
2   -
3 2 {% block body %}
4   - World
5   -{% endblock %}
  3 + World
  4 +{% endblock %}
2  examples/flaskr/templates/login.html
... ... @@ -1,7 +1,7 @@
1 1 {% extends "layout.html" %}
2 2 {% block body %}
3 3 <h2>Login</h2>
4   - {% if error %}<p class=error><strong>Error:</strong> {{ error }}</p>{% endif %}
  4 + {% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %}
5 5 <form action="{{ url_for('login') }}" method=post>
6 6 <dl>
7 7 <dt>Username:

0 comments on commit 61d43c7

Please sign in to comment.
Something went wrong with that request. Please try again.