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