LEFT | RIGHT |
(Both sides are equal) |
1 <!DOCTYPE html>{# this is html5, xmlish variant #} | 1 <!DOCTYPE html>{# this is html5, xmlish variant #} |
2 {%- import "snippets.html" as snippets with context %} | 2 {%- import "snippets.html" as snippets with context %} |
3 {%- set head = snippets.head() %} | 3 {%- set head = snippets.head() %} |
4 {%- set scripts = snippets.scripts() %} | 4 {%- set scripts = snippets.scripts() %} |
5 {%- set stylesheets = snippets.stylesheets() %} | 5 {%- set stylesheets = snippets.stylesheets() %} |
6 | 6 |
7 {# This allows child templates passing their header_search macro to the common l
ayout (eg blog). | 7 {# This allows child templates passing their header_search macro to the common l
ayout (eg blog). |
8 If there is no header_search macro defined in child templates use the default
one. #} | 8 If there is no header_search macro defined in child templates use the default
one. #} |
9 {% if not header_search %} | 9 {% if not header_search %} |
10 {% from "utils.html" import header_search %} | 10 {% from "utils.html" import header_search %} |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 <script src="{{ url_for('static', filename='js/common.js') }}"></scr
ipt> | 85 <script src="{{ url_for('static', filename='js/common.js') }}"></scr
ipt> |
86 {{ scripts }} | 86 {{ scripts }} |
87 <!--[if lt IE 9]> | 87 <!--[if lt IE 9]> |
88 {# TODO: use a local copy later #} | 88 {# TODO: use a local copy later #} |
89 <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"
></script> | 89 <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"
></script> |
90 <![endif]--> | 90 <![endif]--> |
91 {% endblock %} | 91 {% endblock %} |
92 | 92 |
93 </body> | 93 </body> |
94 </html> | 94 </html> |
LEFT | RIGHT |