@@ -1,5 +1,6 @@
1+<!-- First nav is desktop-specific. Second nav is dropdown version for mobile. -->
1{% block content %}
2{% block content %}
2−<nav class="bg-gray5 pt4 full-left no-break docs pr4 fourth-1-md fourth-1-lg">
3+<nav class="bg-gray5 dn db-l db-xl pt4 full-left no-break docs pr4">
3 <a class="gray3" href="{{config.base_url}}">Urbit</a>
4 <a class="gray3" href="{{config.base_url}}">Urbit</a>
4 <span class="gray3"> / </span>
5 <span class="gray3"> / </span>
5 <a href="{{config.base_url}}/docs/">
6 <a href="{{config.base_url}}/docs/">
@@ -8,77 +9,64 @@
8 <button id="js-search-window-toggle" class="mt4 mb4" type="button" style="outline:none">
9 <button id="js-search-window-toggle" class="mt4 mb4" type="button" style="outline:none">
9 <span id="search-icon" class="f3 gray3">⚲</span><span class="ml3 gray2">Search</span>
10 <span id="search-icon" class="f3 gray3">⚲</span><span class="ml3 gray2">Search</span>
13+ <li class="mt1"><a href="/try/#install">Install</a> ↗</li>
14+ <li class="mt1"><a href="/operations/">Operations</a> ↗</li>
15+ <li class="mt1"><a href="/develop/">Developer Guide</a> ↗</li>
16+ <li class="mt1"><a href="https://azimuth.network">Azimuth</a> ↗</li>
12− {% block menu %}
19+ {% block menu %}
13− {% set index = get_section(path="docs/_index.md") %}
20+ {% set index = get_section(path="docs/_index.md") %}
14− {% for s in index.subsections %}
21+ {% for s in index.subsections %}
15 {% set subsection = get_section(path=s) %}
22 {% set subsection = get_section(path=s) %}
16− <li class="mt3">
23+ <details class="mt2">
17− <a href="{{ subsection.permalink }}">
18− {{ subsection.title }}
24+ <summary>{{ subsection.title }}</summary>
20 {% if subsection.pages %}
25 {% if subsection.pages %}
23 {% for page in subsection.pages %}
26 {% for page in subsection.pages %}
24− <li>
27+ <li class="mt1">
25− <a href="{{ page.permalink }}">
28+ <a href="{{ page.permalink}}">
26 {{ page.title }}
29 {{ page.title }}
29 {% endfor %}
32 {% endfor %}
31 {% for y in subsection.subsections %}
33 {% for y in subsection.subsections %}
32 {% set subsubsection = get_section(path=y) %}
34 {% set subsubsection = get_section(path=y) %}
33− <ul>
35+ <details class="ml2 mt1">
35− <a href="{{ subsubsection.permalink }}">
36− {{ subsubsection.title }}
36+ <summary>{{ subsubsection.title }}</summary>
39 {% if subsubsection.pages %}
37 {% if subsubsection.pages %}
41 {% for page in subsubsection.pages %}
38 {% for page in subsubsection.pages %}
43− <a href="{{ page.permalink }}">
39+ <li class="mt1"><a href="{{ page.permalink }}">{{ page.title }}</a></li>
47 {% endfor %}
40 {% endfor %}
49 {% for x in subsubsection.subsections %}
41 {% for x in subsubsection.subsections %}
50− {% set subsubsubsection = get_section(path=x) %}
42+ {% set subsubsubsection = get_section(path=x) %}
51− <ul>
43+ <details class="ml2 mt1">
53− <a href="{{ subsubsubsection.permalink }}">
54− {{ subsubsubsection.title }}
44+ <summary>{{ subsubsubsection.title }}</summary>
56 {% if subsubsubsection.pages %}
45 {% if subsubsubsection.pages %}
59 {% for page in subsubsubsection.pages %}
46 {% for page in subsubsubsection.pages %}
61− <a href="{{ page.permalink }}">
47+ <li class="mt1"><a href="{{ page.permalink }}">{{ page.title }}</a></li>
65 {% endfor %}
48 {% endfor %}
67 {% endif %}
49 {% endif %}
70 {% endfor %}
51 {% endfor %}
73 {% endif %}
52 {% endif %}
76 {% endfor %}
54 {% endfor %}
78 {% endif %}
55 {% endif %}
80− {% endfor %}
57+ {% endfor %}
81− {% endblock menu %}
58+ {% endblock menu %}
62+<nav class="dn-l mobile dn-xl db pt4 no-break docs full">
63+ <a class="gray3" href="{{config.base_url}}">Urbit</a>
64+ <span class="gray3"> / </span>
65+ <a href="{{config.base_url}}/docs/">
68+ <button id="js-search-window-toggle" class="mt4 mb4" type="button" style="outline:none">
69+ <span id="search-icon" class="f3 gray3">⚲</span><span class="ml3 gray2">Search</span>
84{% endblock content %}
72{% endblock content %}