on master help sign in
Understanding Urbit templates and components
2f852e6Matilde Park
content/contributing.md+1−1
@@ -54,4 +54,4 @@ All of these actions happen on Azimuth. There will be Bridge functionality to ha
54+ If the chosen star wants to become the planet's sponsor, it calls the `adopt` function in the Ecliptic contract.
54+ If the chosen star wants to become the planet's sponsor, it calls the `adopt` function in the Ecliptic contract.
55+ The Arvo network notices the change, and the operation is complete.
55+ The Arvo network notices the change, and the operation is complete.
56
56
57−## Developing on Urbit {#developing-on-urbit}
57+## Governance {#governance}
content/develop.md+4
@@ -3,6 +3,10 @@ title = "Develop"
3template = "page_indiced.html"
3template = "page_indiced.html"
4+++
4+++
5
5
6+## Core Development {#core}
7+
8+## Application Development {#application}
9+
6## Creating a Development Ship {#creating-a-development-ship}
10## Creating a Development Ship {#creating-a-development-ship}
7
11
8To do work with Hoon and with the system, we recommended using a "fake" ship -- one not connected to the network.
12To do work with Hoon and with the system, we recommended using a "fake" ship -- one not connected to the network.
content/install.md+2−8
@@ -3,12 +3,6 @@ title = "Install"
3template = "page_indiced.html"
3template = "page_indiced.html"
4+++
4+++
5
5
6−## Install Urbit {#install-urbit}
6+## Getting an Urbit ID {#id}
7
7
8−## Using Landscape {#using-landscape}
8+## Install Urbit {#urbit}
9−
10−## Using the CLI {#using-the-cli}
11−
12−## Using Bridge {#using-bridge}
13−
14−## Invite Friends {#invite-friends}
content/understanding-urbit/_index.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "Understanding Urbit"
3+sort_by = "weight"
4+template = "understanding-urbit/list.html"
5+page_template = "essays/post.html"
6++++
content/understanding-urbit/address-space-governance.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "Address Space + Governance"
3+weight = 6
4+[extra]
5+readtime = "true"
6++++
content/understanding-urbit/design-principles.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "Design Principles"
3+weight = 9
4+[extra]
5+readtime = "true"
6++++
content/understanding-urbit/interface.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "Interface"
3+weight = 4
4+[extra]
5+readtime = "true"
6++++
content/understanding-urbit/project-history.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "Project History"
3+weight = 7
4+[extra]
5+readtime = "true"
6++++
content/understanding-urbit/simple-durable-yours.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "Simple, Durable, Yours"
3+weight = 1
4+[extra]
5+readtime = "true"
6++++
content/understanding-urbit/technical-overview.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "Technical Overview"
3+weight = 5
4+[extra]
5+readtime = "true"
6++++
content/understanding-urbit/urbit-and-the-blockchain.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "Urbit + The Blockchain"
3+weight = 8
4+[extra]
5+readtime = "true"
6++++
content/understanding-urbit/why-only-urbit.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "Why Only Urbit"
3+weight = 2
4+[extra]
5+readtime = "true"
6++++
content/understanding-urbit/your-last-computer.mdnew file+6
@@ -0,0 +1,6 @@
1++++
2+title = "Your Last Computer"
3+weight = 3
4+[extra]
5+readtime = "true"
6++++
templates/essays/post.html+8−3
@@ -18,8 +18,9 @@
18<nav class="mt4 full fourth-1-md fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
18<nav class="mt4 full fourth-1-md fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
19 <a class="gray3" href="/">Urbit</a>
19 <a class="gray3" href="/">Urbit</a>
20 <span class="gray3"> / </span>
20 <span class="gray3"> / </span>
21− <a class="section" href="/essays">
21+ <a class="section" href="/{{ page.components[0] }}">
22− Essays
22+ {% set sectionname = get_section(path=page.components[0] ~ "/_index.md") %}
23+ {{ sectionname.title }}
23 </a>
24 </a>
24
25
25 {% include "partials/navigation-search.html" %}
26 {% include "partials/navigation-search.html" %}
@@ -33,9 +34,13 @@
33 {% endif %}
34 {% endif %}
34 </span>
35 </span>
35 {% if page.date %}
36 {% if page.date %}
36− <time class="mono full c4-10-lg db mv1 gray2 f5">{{page.date | date(format="~%Y.%-m.%-d") }}</time>
37+ <time class="mono full c4-10-lg db mv2 gray0 f5">{{page.date | date(format="~%Y.%-m.%-d") }}</time>
37 {% endif %}
38 {% endif %}
38{% endif %}
39{% endif %}
40+ {% if page.extra.readtime %}
41+ <span class="dib mono full c4-10-lg ml2 mv1 gray2 f5"> {{ page.reading_time }}m read</span>
42+ {% endif %}
43+
39 <article class="mb4 mt4 full grid12">
44 <article class="mb4 mt4 full grid12">
40 {{ page.content | safe }}
45 {{ page.content | safe }}
41
46
templates/index.html+52−52
@@ -146,34 +146,65 @@ content: " ↗";
146 </section>
146 </section>
147
147
148 <nav class="c4-10-md c4-10-lg full mt6 mb6">
148 <nav class="c4-10-md c4-10-lg full mt6 mb6">
149− <h1 class="f2 fw3 mb3">Go Deeper</h1>
149+ <h1 class="f2 fw3 mb3">Understanding Urbit</h1>
150+ <p class="lh-copy">Want to continue down this rabbit hole? If you’re new to Urbit
151+ and want to learn more, start with the Understanding Urbit posts. If you’re technical, start
152+ with the technical overview.</p>
150 <ul>
153 <ul>
151− <li class="mt2">Simple, Durable, Yours</li>
154+ {% set posts = get_section(path="understanding-urbit/_index.md") %}
152− <li class="mt2">Why "Only Urbit"</li>
155+ {% for page in posts.pages %}
153− <li class="mt2">Stories from the Future</li>
156+ <li class="mt2"><a class="b--black bb" href="{{ page.permalink }}">{{ page.title }}</a></li>
154− <li class="mt2">Interface</li>
157+ {% endfor %}
155− <li class="mt2">Technical Overview</li>
156− <li class="mt2">Address Space + Governance</li>
157− <li class="mt2">Project History</li>
158− <li class="mt2">Urbit + The Blockchain</li>
159− <li class="mt2">Design Principles</li>
160 </ul>
158 </ul>
159+ <h1 class="f2 fw3 mt4 mb3">Follow the Project</h1>
160+ <p class="lh-copy mt1">Urbit is actively being built, explored, and experimented with.
161+ To follow our progress you can:
162+ </p>
163+ <ul>
164+ <li class="mt2">Follow us on <a href="https://twitter.com/urbit">Twitter</a></li>
165+ <li class="mt2">Explore the code on <a href="https://github.com/urbit/urbit">GitHub</a></li>
166+ <li class="mt2">Ask questions in our <a href="https://discord.gg/bkEX6EU">Discord</a></li>
167+ </ul>
168+ <p>or boot Urbit and join <code>~dopzod/urbit-help</code></p>
169+ <p class="lh-copy mt4">We additionally send regular updates about our project. Enter your email to get them.</p>
170+ <iframe name="nothing" style="display:none;"></iframe>
171+ <form action="https://urbit.us11.list-manage.com/subscribe/post?u=972a03db9e0c6c25bb58de8c8&amp;amp;id=be143888d2"
172+ method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate form"
173+ target="_blank" novalidate>
174+ <div class="input-group" id="mc_embed_signup_scroll">
175+ <div class="mc-field-group w-100 relative">
176+ <input class="bg-white black b--black ba pa3 w-100 mb2" type="email" name="EMAIL" id="mce-EMAIL"
177+ placeholder="your@email.com">
178+ <button id="mc-embedded-subscribe" class="dib bn absolute"
179+ style="font-family: 'Inter UI', san-serif; right: 3px; top: 15px; -webkit-appearance: none;" type="submit"
180+ name="subscribe" onclick="_paq.push(['trackEvent', 'Mailing List', 'Subscribe'])"><span class="fr pr1">-></span>
181+ </button>
182+ </div>
183+ <div id="mce-responses" class="clear">
184+ <div id="mce-error-response" class="response" style="display:none"></div>
185+ <div id="mce-success-response" class="response" style="display:none"></div>
186+ </div>
187+ <div style="position: absolute; left: -5000px;" aria-hidden="true">
188+ <input type="text" name="b_972a03db9e0c6c25bb58de8c8_be143888d2" tabindex="-1" value="">
189+ </div>
190+ </div>
191+ </form>
161 </nav>
192 </nav>
162</article>
193</article>
163<footer class="full-bleed mt4 grid12 bg-black white full pb6">
194<footer class="full-bleed mt4 grid12 bg-black white full pb6">
164 <section class="full grid12 mb4">
195 <section class="full grid12 mb4">
165 <nav class="c1-3-md c1-3-lg half-1 mt4">
196 <nav class="c1-3-md c1-3-lg half-1 mt4">
166 <h3>What is Urbit?</h3>
197 <h3>What is Urbit?</h3>
167− <li class="mt2">Project Overview</li>
198+ <li class="mt2"><a href="/understanding-urbit/project-history">Project History</a></li>
199+ <li class="mt2"><a href="/understanding-urbit/technical-overview">Technical Overview</a></li>
168− <li class="mt2">Interface</li>
200+ <li class="mt2"><a href="/understanding-urbit/interface">Interface</a></li>
169− <li class="mt2">Infrastructure</li>
201+ <li class="mt2"><a href="/understanding-urbit/urbit-id">Urbit ID</a></li>
170− <li class="mt2">Azimuth</li>
171 </nav>
202 </nav>
172 <nav class="c3-5-md c3-5-lg half-2 mt4">
203 <nav class="c3-5-md c3-5-lg half-2 mt4">
173 <h3>Contributing</h3>
204 <h3>Contributing</h3>
174− <li class="mt2">How can I help?</li>
205+ <li class="mt2"><a href="/contributing">How can I help?</a></li>
175− <li class="mt2">Operating Galaxies and Stars</li>
206+ <li class="mt2"><a href="/contributing#galaxies-and-stars">Operating Galaxies and Stars</a></li>
176− <li class="mt2">Governance</li>
207+ <li class="mt2"><a href="/contributing#governance">Governance</a></li>
177 <li class="mt2"><a href="/bounties">Security Bounties</a></li>
208 <li class="mt2"><a href="/bounties">Security Bounties</a></li>
178 </nav>
209 </nav>
179 <nav class="c5-7-md c5-7-lg half-1 mt4">
210 <nav class="c5-7-md c5-7-lg half-1 mt4">
@@ -186,8 +217,8 @@ content: " ↗";
186 <nav class="c7-9-md c7-9-lg half-2 mt4">
217 <nav class="c7-9-md c7-9-lg half-2 mt4">
187 <h3>Developers</h3>
218 <h3>Developers</h3>
188 <li class="mt2"><a href="/docs">Documentation</a></li>
219 <li class="mt2"><a href="/docs">Documentation</a></li>
189− <li class="mt2">Core Development</li>
220+ <li class="mt2"><a href="/develop#core">Core Development</a></li>
190− <li class="mt2">Application Development</li>
221+ <li class="mt2"><a href="/develop#application">Application Development</a></li>
191 <li class="mt2"><a href="https://grants.urbit.org">Grants</a></li>
222 <li class="mt2"><a href="https://grants.urbit.org">Grants</a></li>
192 </nav>
223 </nav>
193 <nav class="c9-11-md c9-11-lg half-1 mt4">
224 <nav class="c9-11-md c9-11-lg half-1 mt4">
@@ -199,8 +230,8 @@ content: " ↗";
199 </nav>
230 </nav>
200 <nav class="c11-13-md c11-13-lg half-2 mt4">
231 <nav class="c11-13-md c11-13-lg half-2 mt4">
201 <h3>Install Urbit</h3>
232 <h3>Install Urbit</h3>
202− <li class="mt2">Getting an Azimuth Point</li>
233+ <li class="mt2"><a href="/install#id">Getting an Urbit ID</a></li>
203− <li class="mt2"><a href="/install">Install</a></li>
234+ <li class="mt2"><a href="/install#urbit">Install</a></li>
204 </nav>
235 </nav>
205 </section>
236 </section>
206 <section class="full-bleed full grid12">
237 <section class="full-bleed full grid12">
@@ -216,37 +247,6 @@ content: " ↗";
216 <li class="mt2"><a href="https://twitter.com/urbit">twitter.com/urbit</a></li>
247 <li class="mt2"><a href="https://twitter.com/urbit">twitter.com/urbit</a></li>
217 <li class="mt2"><a href="https://github.com/urbit">github.com/urbit</a></li>
248 <li class="mt2"><a href="https://github.com/urbit">github.com/urbit</a></li>
218 </nav>
249 </nav>
219−
220− <aside class="c7-11-md c7-11-lg full mt4" id="newsletter-subscribe-bottom">
221− <h2 id="updates" class="mt0">
222− Updates
223− </h2>
224− <p class="lh-copy">Every month we send an email with community events and what we're up to.</p>
225− <iframe name="nothing" style="display:none;"></iframe>
226− <form action="https://urbit.us11.list-manage.com/subscribe/post?u=972a03db9e0c6c25bb58de8c8&amp;amp;id=be143888d2"
227− method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate form"
228− target="_blank" novalidate>
229− <div class="input-group" id="mc_embed_signup_scroll">
230− <div class="mc-field-group w-100">
231− <small class="mb1 dib">Receiving Email Address</small>
232− <input class="bg-black white b--white ba pa3 w-100 mb2" type="email" name="EMAIL" id="mce-EMAIL"
233− placeholder="your@email.com">
234− </div>
235− <div id="mce-responses" class="clear">
236− <div id="mce-error-response" class="response" style="display:none"></div>
237− <div id="mce-success-response" class="response" style="display:none"></div>
238− </div>
239− <div style="position: absolute; left: -5000px;" aria-hidden="true">
240− <input type="text" name="b_972a03db9e0c6c25bb58de8c8_be143888d2" tabindex="-1" value="">
241− </div>
242− <button id="mc-embedded-subscribe" class="bg-white mb4 bn justify-between black w-100 tl"
243− style="font-family: 'Inter UI', san-serif; padding: 16px; -webkit-appearance: none;" type="submit"
244− name="subscribe" onclick="_paq.push(['trackEvent', 'Mailing List', 'Subscribe'])">
245− <span class="text-500">Subscribe</span> <span class="fr pr1">-></span>
246− </button>
247− </div>
248− </form>
249− </aside>
250 </section>
250 </section>
251</footer>
251</footer>
252{% endblock content %}
252{% endblock content %}
templates/understanding-urbit/list.htmlnew file+25
@@ -0,0 +1,25 @@
1+{% extends "base.html" %}
2+{% block title %} Understanding Urbit {% endblock title %}
3+{% block content %}
4+<!-- header -->
5+<nav class="mt4 full fourth-1-md fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
6+ <a class="gray3" href="/">Urbit</a>
7+ <span class="gray3"> / </span>
8+ <a href="/understanding-urbit/">
9+ Understanding Urbit
10+ </a>
11+ {% include "partials/navigation-search.html" %}
12+</nav>
13+<!-- content -->
14+ <article class="mt4-l mt4-xl mb2 full c4-12-lg">
15+ <ul class="posts">
16+ {% set posts = get_section(path="understanding-urbit/_index.md") %}
17+ {% for page in posts.pages %}
18+ <li class="mb4">
19+ <h2 class="f4 fw4"><a class="bb-0" href="{{ page.permalink }}">{{ page.title }}</a></h2>
20+ <p class="mt0">{{ page.description }}</p>
21+ </li>
22+ {% endfor %}
23+ </ul>
24+ </article>
25+{% endblock content %}