@@ -77,42 +77,43 @@ <h3>{{ _('Navigation') }}</h3>
77
77
{%- endblock -%}
78
78
79
79
{%- block body_tag %}
80
- {{ super() }}
81
- < div class ="mobile-nav ">
82
- < input type ="checkbox " id ="menuToggler " class ="toggler__input "
83
- aria-controls ="navigation " aria-pressed ="false " aria-expanded ="false " role ="button " aria-label ="{{ _('Menu')}} " />
84
- < label for ="menuToggler " class ="toggler__label ">
85
- < span > </ span >
86
- </ label >
87
- < nav class ="nav-content " role ="navigation ">
88
- < img src ="{{ pathto('_static/' + 'py.svg', 1) }} " alt ="Logo "/>
89
- < div class ="version_switcher_placeholder "> </ div >
90
- {%- if pagename != "search" and builder != "singlehtml" %}
91
- < form id ="searchbox " role ="search " class ="search " action ="{{ pathto('search') }} " method ="get ">
92
- < svg xmlns ="http://www.w3.org/2000/svg " width ="20 " height ="20 " viewBox ="0 0 24 24 "
93
- class ="search-icon ">
94
- < path fill-rule ="nonzero "
95
- d ="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z " fill ="#444 "> </ path >
96
- </ svg >
97
- < input type ="text " name ="q " aria-label ="{{ _('Quick search') }} "/>
98
- < input type ="submit " value ="{{ _('Go') }} "/>
99
- </ form >
80
+ {{ super() }}
81
+ < div class ="mobile-nav ">
82
+ < input type ="checkbox " id ="menuToggler " class ="toggler__input " aria-controls ="navigation "
83
+ aria-pressed ="false " aria-expanded ="false " role ="button " aria-label ="{{ _('Menu')}} " />
84
+ < label for ="menuToggler " class ="toggler__label ">
85
+ < span > </ span >
86
+ </ label >
87
+ < nav class ="nav-content " role ="navigation ">
88
+ < img src ="{{ pathto('_static/' + 'py.svg', 1) }} " alt ="Logo "/>
89
+ < div class ="version_switcher_placeholder "> </ div >
90
+ {%- if pagename != "search" and builder != "singlehtml" %}
91
+ < form id ="searchbox " role ="search " class ="search " action ="{{ pathto('search') }} " method ="get ">
92
+ < svg xmlns ="http://www.w3.org/2000/svg " width ="20 " height ="20 " viewBox ="0 0 24 24 " class ="search-icon ">
93
+ < path fill-rule ="nonzero "
94
+ d ="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z " fill ="#444 "> </ path >
95
+ </ svg >
96
+ < input type ="text " name ="q " aria-label ="{{ _('Quick search') }} "/>
97
+ < input type ="submit " value ="{{ _('Go') }} "/>
98
+ </ form >
99
+ {%- endif %}
100
+ </ nav >
101
+ < div class ="menu-wrapper ">
102
+ < nav class ="menu " role ="navigation " aria-label ="main navigation ">
103
+ < div class ="language_switcher_placeholder "> </ div >
104
+ {%- if logo %}
105
+ < p class ="logo ">
106
+ < a href ="{{ pathto(master_doc)|e }} ">
107
+ < img class ="logo " src ="{{ pathto('_static/' + logo, 1)|e }} " alt ="Logo "/>
108
+ </ a >
109
+ </ p >
100
110
{%- endif %}
111
+ {%- for sidebartemplate in sidebars %}
112
+ {%- include sidebartemplate %}
113
+ {%- endfor %}
101
114
</ nav >
102
- < div class ="menu-wrapper ">
103
- < nav class ="menu " role ="navigation " aria-label ="main navigation ">
104
- < div class ="language_switcher_placeholder "> </ div >
105
- {%- if logo %}
106
- < p class ="logo "> < a href ="{{ pathto(master_doc)|e }} ">
107
- < img class ="logo " src ="{{ pathto('_static/' + logo, 1)|e }} " alt ="Logo "/>
108
- </ a > </ p >
109
- {%- endif %}
110
- {%- for sidebartemplate in sidebars %}
111
- {%- include sidebartemplate %}
112
- {%- endfor %}
113
- </ nav >
114
- </ div >
115
115
</ div >
116
+ </ div >
116
117
{% endblock %}
117
118
118
119
{% block footer %}
0 commit comments