|
70 | 70 | <div class="sidebar-menu" role="button">☰</div> {#- -#}
|
71 | 71 | <a class="sidebar-logo" href='{{page.root_path | safe}}{{krate_with_trailing_slash | safe}}index.html'> {#- -#}
|
72 | 72 | <div class='logo-container rust-logo'> {#- -#}
|
73 |
| - <img src=' |
74 |
| - {%- if layout.logo -%} |
75 |
| - {{layout.logo}} |
76 |
| - {%- else -%} |
77 |
| - {{static_root_path | safe}}rust-logo{{page.resource_suffix}}.png |
78 |
| - {%- endif -%} |
79 |
| - ' alt='logo'> {#- -#} |
| 73 | + <img src=' |
| 74 | + {%- if layout.logo -%} |
| 75 | + {{layout.logo}} |
| 76 | + {%- else -%} |
| 77 | + {{static_root_path | safe}}rust-logo{{page.resource_suffix}}.png |
| 78 | + {%- endif -%} |
| 79 | + ' alt='logo'> {#- -#} |
80 | 80 | </div> {#- -#}
|
81 | 81 | </a> {#- -#}
|
82 | 82 | {{- sidebar | safe -}}
|
83 | 83 | </nav> {#- -#}
|
84 | 84 | <main> {#- -#}
|
85 | 85 | <div class="main-inner"> {#- -#}
|
86 |
| - <nav class="sub"> {#- -#} |
87 |
| - <div class="theme-picker"> {#- -#} |
88 |
| - <button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"> {#- -#} |
89 |
| - <img width="18" height="18" alt="Pick another theme!" {# -#} |
90 |
| - src="{{static_root_path | safe}}brush{{page.resource_suffix}}.svg"> {#- -#} |
91 |
| - </button> {#- -#} |
92 |
| - <div id="theme-choices" role="menu"></div> {#- -#} |
93 |
| - </div> {#- -#} |
94 |
| - <form class="search-form"> {#- -#} |
95 |
| - <div class="search-container"> {#- -#} |
96 |
| - <div>{%- if layout.generate_search_filter -%} |
97 |
| - <select id="crate-search"> {#- -#} |
98 |
| - <option value="All crates">All crates</option> {#- -#} |
99 |
| - </select> {#- -#} |
100 |
| - {%- endif -%} |
101 |
| - <input {# -#} |
102 |
| - class="search-input" {# -#} |
103 |
| - name="search" {# -#} |
104 |
| - autocomplete="off" {# -#} |
105 |
| - spellcheck="false" {# -#} |
106 |
| - placeholder="Click or press ‘S’ to search, ‘?’ for more options…" {# -#} |
107 |
| - type="search"> {#- -#} |
108 |
| - </div> {#- -#} |
109 |
| - <button type="button" id="help-button" title="help">?</button> {#- -#} |
110 |
| - <a id="settings-menu" href="{{page.root_path | safe}}settings.html" title="settings"> {#- -#} |
111 |
| - <img width="18" height="18" alt="Change settings" {# -#} |
112 |
| - src="{{static_root_path | safe}}wheel{{page.resource_suffix}}.svg"> {#- -#} |
113 |
| - </a> {#- -#} |
| 86 | + <div class="sub-container"> {#- -#} |
| 87 | + <a class="sub-logo-container rust-logo" href='{{page.root_path | safe}}{{krate_with_trailing_slash | safe}}index.html'> {#- -#} |
| 88 | + <img src=' |
| 89 | + {%- if layout.logo -%} |
| 90 | + {{layout.logo}} |
| 91 | + {%- else -%} |
| 92 | + {{static_root_path | safe}}rust-logo{{page.resource_suffix}}.png |
| 93 | + {%- endif -%} |
| 94 | + ' alt='logo'> {#- -#} |
| 95 | + </a> {#- -#} |
| 96 | + <nav class="sub"> {#- -#} |
| 97 | + <div class="theme-picker"> {#- -#} |
| 98 | + <button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"> {#- -#} |
| 99 | + <img width="18" height="18" alt="Pick another theme!" {# -#} |
| 100 | + src="{{static_root_path | safe}}brush{{page.resource_suffix}}.svg"> {#- -#} |
| 101 | + </button> {#- -#} |
| 102 | + <div id="theme-choices" role="menu"></div> {#- -#} |
114 | 103 | </div> {#- -#}
|
115 |
| - </form> {#- -#} |
116 |
| - </nav> {#- -#} |
| 104 | + <form class="search-form"> {#- -#} |
| 105 | + <div class="search-container"> {#- -#} |
| 106 | + <div>{%- if layout.generate_search_filter -%} |
| 107 | + <select id="crate-search"> {#- -#} |
| 108 | + <option value="All crates">All crates</option> {#- -#} |
| 109 | + </select> {#- -#} |
| 110 | + {%- endif -%} |
| 111 | + <input {# -#} |
| 112 | + class="search-input" {# -#} |
| 113 | + name="search" {# -#} |
| 114 | + disabled {# -#} |
| 115 | + autocomplete="off" {# -#} |
| 116 | + spellcheck="false" {# -#} |
| 117 | + placeholder="Click or press ‘S’ to search, ‘?’ for more options…" {# -#} |
| 118 | + type="search"> {#- -#} |
| 119 | + </div> {#- -#} |
| 120 | + <button type="button" id="help-button" title="help">?</button> {#- -#} |
| 121 | + <a id="settings-menu" href="{{page.root_path | safe}}settings.html" title="settings"> {#- -#} |
| 122 | + <img width="18" height="18" alt="Change settings" {# -#} |
| 123 | + src="{{static_root_path | safe}}wheel{{page.resource_suffix}}.svg"> {#- -#} |
| 124 | + </a> {#- -#} |
| 125 | + </div> {#- -#} |
| 126 | + </form> {#- -#} |
| 127 | + </nav> {#- -#} |
| 128 | + </div> {#- -#} |
117 | 129 | <section id="main" class="content">{{- content | safe -}}</section> {#- -#}
|
118 | 130 | <section id="search" class="content hidden"></section> {#- -#}
|
119 | 131 | </div> {#- -#}
|
|
0 commit comments