|
1 | 1 | <!DOCTYPE html>
|
2 |
| -{% load pages_tags mezzanine_tags i18n %} |
| 2 | +{% load pages_tags mezzanine_tags i18n future %} |
3 | 3 | <html>
|
4 | 4 | <head>
|
5 | 5 |
|
|
11 | 11 | <link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.ico">
|
12 | 12 |
|
13 | 13 | {% ifinstalled mezzanine.blog %}
|
14 |
| -<link rel="alternate" type="application/rss+xml" title="RSS" href="{% url blog_post_feed "rss" %}"> |
15 |
| -<link rel="alternate" type="application/atom+xml" title="Atom" href="{% url blog_post_feed "atom" %}"> |
| 14 | +<link rel="alternate" type="application/rss+xml" title="RSS" href="{% url "blog_post_feed" "rss" %}"> |
| 15 | +<link rel="alternate" type="application/atom+xml" title="Atom" href="{% url "blog_post_feed" "atom" %}"> |
16 | 16 | {% endifinstalled %}
|
17 | 17 |
|
18 | 18 | {% compress css %}
|
|
40 | 40 | {% block extra_js %}{% endblock %}
|
41 | 41 | {% endcompress %}
|
42 | 42 | <!--[if lt IE 9]>
|
43 |
| -<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
| 43 | +<script src="{{ STATIC_URL }}js/html5shiv.js"></script> |
44 | 44 | <![endif]-->
|
45 | 45 |
|
46 | 46 | {% block extra_head %}{% endblock %}
|
47 | 47 |
|
48 | 48 | </head>
|
49 | 49 | <body id="{% block body_id %}body{% endblock %}">
|
50 | 50 |
|
51 |
| -<div class="navbar"> |
| 51 | +<div class="navbar navbar-inverse"> |
52 | 52 | <div class="navbar-inner">
|
53 | 53 | <div class="container">
|
54 | 54 | <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
59 | 59 | {% if settings.SITE_TITLE %}<a class="brand" href="/">{{ settings.SITE_TITLE }}</a>{% endif %}
|
60 | 60 | {% if settings.SITE_TAGLINE %}<p class="tagline">{{ settings.SITE_TAGLINE }}</p>{% endif %}
|
61 | 61 | <div class="nav-collapse">
|
62 |
| - <form action="{% url search %}" class="navbar-search pull-right"> |
63 |
| - <input class="search-query" placeholder="{% trans "Search" %}" type="text" name="q" value="{{ request.REQUEST.q }}"> |
64 |
| - </form> |
| 62 | + {% search_form "all" %} |
65 | 63 | {% page_menu "pages/menus/dropdown.html" %}
|
66 | 64 | </div>
|
67 | 65 | </div>
|
@@ -135,7 +133,7 @@ <h1>{% block title %}{% endblock %}</h1>
|
135 | 133 | {% trans "Theme by" %} <a href="http://twitter.github.com/bootstrap/">Bootstrap</a>
|
136 | 134 | {% ifinstalled mezzanine.mobile %}
|
137 | 135 | <span class="separator">|</span>
|
138 |
| - <a href="{% url set_device "mobile" %}?next={{ request.path }}">{% trans "View Mobile Site" %}</a> |
| 136 | + <a href="{% url "set_device" "mobile" %}?next={{ request.path }}">{% trans "View Mobile Site" %}</a> |
139 | 137 | {% endifinstalled %}
|
140 | 138 | </p>
|
141 | 139 | </div>
|
|
0 commit comments