on master help sign in
Merge pull request #252 from urbit/feat/mp-docs-nextup
d037b74Matilde Park
templates/doc.html+3−1
@@ -12,10 +12,12 @@
12<!-- header -->
12<!-- header -->
13<!-- content -->
13<!-- content -->
14{% include "partials/navigation-docs.html" %}
14{% include "partials/navigation-docs.html" %}
15−<article class="mt4 mb6 full c5-10-md c4-10-lg">
15+<article class="mt4 mb6 full c4-12-lg measure-wide">
16 <!-- header -->
16 <!-- header -->
17 <h1>{{ page.title }}</h1>
17 <h1>{{ page.title }}</h1>
18 <!-- body -->
18 <!-- body -->
19 {{ page.content | safe }}
19 {{ page.content | safe }}
20+
21+ {% include "partials/pagination-docs.html" %}
20</article>
22</article>
21{% endblock content %}
23{% endblock content %}
templates/partials/navigation-docs.html+2−2
@@ -1,6 +1,6 @@
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. -->
2{% block content %}
2{% block content %}
3−<nav class="bg-gray5 dn db-l db-xl pt4 full-left no-break docs pr4">
3+<nav class="bg-gray5 dn db-xl pt4 full-left no-break docs pr4">
4 <a class="gray3" href="{{config.base_url}}">Urbit</a>
4 <a class="gray3" href="{{config.base_url}}">Urbit</a>
5 <span class="gray3"> / </span>
5 <span class="gray3"> / </span>
6 <a href="{{config.base_url}}/docs/">
6 <a href="{{config.base_url}}/docs/">
@@ -76,7 +76,7 @@
76 </ul>
76 </ul>
77</nav>
77</nav>
78
78
79−<nav class="dn-l mobile dn-xl db pt4 no-break docs full">
79+<nav class="mobile dn-xl db pt4 no-break docs full">
80 <a class="gray3" href="{{config.base_url}}">Urbit</a>
80 <a class="gray3" href="{{config.base_url}}">Urbit</a>
81 <span class="gray3"> / </span>
81 <span class="gray3"> / </span>
82 <a href="{{config.base_url}}/docs/">
82 <a href="{{config.base_url}}/docs/">
templates/partials/pagination-docs.htmlnew file+10
@@ -0,0 +1,10 @@
1+<footer class="relative mt4">
2+ {% if page.heavier %}
3+ <nav class="previous absolute right-1 t-right">
4+ <a class="bb-0" href="{{page.heavier.permalink}}">
5+ <p class="mb0 f5">Next up:</p>
6+ <p class="mt0 mb0 fw6 f5">{{page.heavier.title}}</p>
7+ </a>
8+ </nav>
9+ {% endif %}
10+</footer>
templates/sections/docs.html+1−1
@@ -12,7 +12,7 @@
12<!-- header -->
12<!-- header -->
13<!-- content -->
13<!-- content -->
14{% include "partials/navigation-docs.html" %}
14{% include "partials/navigation-docs.html" %}
15−<article class="mt4 mb6 full c5-10-md c4-10-lg">
15+<article class="mt4 mb6 full c4-12-lg measure-wide">
16 <!-- header -->
16 <!-- header -->
17 <h1>{{ section.title }}</h1>
17 <h1>{{ section.title }}</h1>
18 <!-- body -->
18 <!-- body -->
templates/sections/docs/chapters.html+1−1
@@ -11,7 +11,7 @@
11<!-- header -->
11<!-- header -->
12<!-- content -->
12<!-- content -->
13{% include "partials/navigation-docs.html" %}
13{% include "partials/navigation-docs.html" %}
14−<article class="mt4 mb6 full c5-10-md c4-10-lg">
14+<article class="mt4 mb6 full c4-12-lg measure-wide">
15<!-- header -->
15<!-- header -->
16<h1>{{ section.title }}</h1>
16<h1>{{ section.title }}</h1>
17<!-- body -->
17<!-- body -->