@@ -1,4 +1,30 @@
1<!-- First nav is desktop-specific. Second nav is dropdown version for mobile. -->
1<!-- First nav is desktop-specific. Second nav is dropdown version for mobile. -->
3+{% set sectionTitle = "urbit.org" %}
5+ {% if "docs" in page.components %}
6+ {% set sectionTitle = "Docs" %}
8+ {% if "updates" in page.components %}
9+ {% set sectionTitle = "Updates" %}
11+ {% if "blog" in page.components %}
12+ {% set sectionTitle = "Blog" %}
17+ {% if "docs" in section.components %}
18+ {% set sectionTitle = "Docs" %}
20+ {% if "updates" in section.components %}
21+ {% set sectionTitle = "Updates" %}
23+ {% if "blog" in section.components %}
24+ {% set sectionTitle = "Blog" %}
2{% block content %}
28{% block content %}
3<nav class="bg-gray5 dn db-xl pt4 full-left no-break docs pr4">
29<nav class="bg-gray5 dn db-xl pt4 full-left no-break docs pr4">
4 <a class="gray3" href="{{config.base_url}}">Urbit</a>
30 <a class="gray3" href="{{config.base_url}}">Urbit</a>
@@ -6,9 +32,11 @@
6 <a href="{{config.base_url}}/docs/">
32 <a href="{{config.base_url}}/docs/">
7 Documentation
33 Documentation
9− <button id="js-search-window-toggle" class="mt2 mb4 dn db-m db-l db-xl" type="button" style="outline:none">
35+<button id="js-search-window-toggle" class="pointer pa0 pv3 dn db-m db-l db-xl bw-0 relative" type="button"
10− <span id="search-icon" class="f3 gray3">⚲</span><span class="ml3 gray2">Search</span>
36+ style="outline:none">
37+ <span class="dib pv1 v-mid gray3">Search {{sectionTitle}}</span>
38+ <span class="ml1 pa1 dib v-mid ba br1 b--gray3 gray3 f7" id="keyhint">Ctrl + /</span>
11− </button>
39+</button>
12 <ul class="lh-copy">
40 <ul class="lh-copy">
13 <li class="ml2 mt1"><a href="/using/install">Install -> </a></li>
41 <li class="ml2 mt1"><a href="/using/install">Install -> </a></li>
14 <li class="ml2 mt1"><a href="/using/operations/">Operations Manual -></a></li>
42 <li class="ml2 mt1"><a href="/using/operations/">Operations Manual -></a></li>
@@ -140,8 +168,10 @@
140 {% endif %}
168 {% endif %}
141 {% endfor %}
169 {% endfor %}
142 </select>
170 </select>
143− <button id="js-search-window-toggle" class="mt4 mb4 dn db-m db-l db-xl" type="button" style="outline:none">
171+ <button id="js-search-window-toggle" class="pointer pa0 pt3 dn db-m db-l db-xl bw-0 relative" type="button"
144− <span id="search-icon" class="f3 gray3">⚲</span><span class="ml3 gray2">Search</span>
172+ style="outline:none">
173+ <span class="pv1 dib v-mid gray3">Search {{sectionTitle}}</span>
174+ <span class="ml1 pa1 dib v-mid ba br1 b--gray3 gray3 f7" id="keyhint">Ctrl + /</span>
145 </button>
175 </button>
147{% endblock content %}
177{% endblock content %}