File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
< meta charset ="utf-8 ">
7
7
< title > {% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }}</ title >
8
8
< link href ="{{ base_url }}/img/favicon.ico " rel ="icon " type ="image/x-icon ">
9
- < link rel ="canonical " href ="{{ page.canonical_url }} " />
9
+ < link rel ="canonical " href ="{{ page.canonical_url|url }} " />
10
10
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
11
11
< meta name ="description " content ="Django, API, REST{% if page %}, {{ page.title }}{% endif %} ">
12
12
< meta name ="author " content ="Tom Christie ">
@@ -91,12 +91,12 @@ <h3 id="myModalLabel">Documentation search</h3>
91
91
92
92
{% for toc_item in page.toc %}
93
93
< li class ="{% if page and not page.is_homepage %}main{% endif %} ">
94
- < a href ="{{ toc_item.url }} "> {{ toc_item.title }}</ a >
94
+ < a href ="{{ toc_item.url|url }} "> {{ toc_item.title }}</ a >
95
95
</ li >
96
96
97
97
{% for toc_item in toc_item.children %}
98
98
< li >
99
- < a href ="{{ toc_item.url }} "> {{ toc_item.title }}</ a >
99
+ < a href ="{{ toc_item.url|url }} "> {{ toc_item.title }}</ a >
100
100
</ li >
101
101
{% endfor %}
102
102
{% endfor %}
Original file line number Diff line number Diff line change 2
2
< div class ="navbar-inner ">
3
3
< div class ="container-fluid ">
4
4
< a class ="repo-link btn btn-primary btn-small " href ="https://github.com/encode/django-rest-framework/tree/master "> GitHub</ a >
5
- < a class ="repo-link btn btn-inverse btn-small {% if not page.next_page %}disabled{% endif %} " rel ="next " {% if page.next_page %}href ="{{ page.next_page.url }} "{% endif %} >
5
+ < a class ="repo-link btn btn-inverse btn-small {% if not page.next_page %}disabled{% endif %} " rel ="next " {% if page.next_page %}href ="{{ page.next_page.url|url }} "{% endif %} >
6
6
Next < i class ="icon-arrow-right icon-white "> </ i >
7
7
</ a >
8
- < a class ="repo-link btn btn-inverse btn-small {% if not page.previous_page %}disabled{% endif %} " rel ="prev " {% if page.previous_page %}href ="{{ page.previous_page.url }} "{% endif %} >
8
+ < a class ="repo-link btn btn-inverse btn-small {% if not page.previous_page %}disabled{% endif %} " rel ="prev " {% if page.previous_page %}href ="{{ page.previous_page.url|url }} "{% endif %} >
9
9
< i class ="icon-arrow-left icon-white "> </ i > Previous
10
10
</ a >
11
11
< a id ="search_modal_show " class ="repo-link btn btn-inverse btn-small " href ="#mkdocs_search_modal " data-toggle ="modal " data-target ="#mkdocs_search_modal "> < i class ="icon-search icon-white "> </ i > Search</ a >
25
25
< ul class ="dropdown-menu ">
26
26
{% for nav_item in nav_item.children %}
27
27
< li {% if nav_item.active %}class ="active " {% endif %} >
28
- < a href ="{{ nav_item.url }} "> {{ nav_item.title }}</ a >
28
+ < a href ="{{ nav_item.url|url }} "> {{ nav_item.title }}</ a >
29
29
</ li >
30
30
{% endfor %}
31
31
</ ul >
32
32
</ li >
33
33
{% else %}
34
34
< li {% if nav_item.active %}class ="active " {% endif %} >
35
- < a href ="{{ nav_item.url }} "> {{ nav_item.title }}</ a >
35
+ < a href ="{{ nav_item.url|url }} "> {{ nav_item.title }}</ a >
36
36
</ li >
37
37
{% endif %} {% endfor %}
38
38
You can’t perform that action at this time.
0 commit comments