on master help sign in
Understanding Urbit templates and components
commit2f852e6cef505ab67d2e71acfab603e473721776 authorMatilde Park <matilde@tlon.io> dateThu 3 Oct 2019, 21:59 (7 years ago) parent0476b0b
16 files changed+152−64
content/contributing.md+1−1 content/develop.md+4 content/install.md+2−8 content/understanding-urbit/_index.md+6 content/understanding-urbit/address-space-governance.md+6 content/understanding-urbit/design-principles.md+6 content/understanding-urbit/interface.md+6 content/understanding-urbit/project-history.md+6 content/understanding-urbit/simple-durable-yours.md+6 content/understanding-urbit/technical-overview.md+6 content/understanding-urbit/urbit-and-the-blockchain.md+6 content/understanding-urbit/why-only-urbit.md+6 content/understanding-urbit/your-last-computer.md+6 templates/essays/post.html+8−3 templates/index.html+52−52 templates/understanding-urbit/list.html+25
content/contributing.md+1−1
@@ -54,4 +54,4 @@ All of these actions happen on Azimuth. There will be Bridge functionality to ha
5454+ If the chosen star wants to become the planet's sponsor, it calls the `adopt` function in the Ecliptic contract.
5555+ The Arvo network notices the change, and the operation is complete.
5656
57−## Developing on Urbit {#developing-on-urbit}
57+## Governance {#governance}
content/develop.md+4
@@ -3,6 +3,10 @@ title = "Develop"
33template = "page_indiced.html"
44+++
55
6+## Core Development {#core}
7+
8+## Application Development {#application}
9+
610## Creating a Development Ship {#creating-a-development-ship}
711
812To 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"
33template = "page_indiced.html"
44+++
55
6−## Install Urbit {#install-urbit}
6+## Getting an Urbit ID {#id}
77
8−## Using Landscape {#using-landscape}
9−
10−## Using the CLI {#using-the-cli}
11−
12−## Using Bridge {#using-bridge}
13−
14−## Invite Friends {#invite-friends}
8+## Install Urbit {#urbit}
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 @@
1818<nav class="mt4 full fourth-1-md fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
1919 <a class="gray3" href="/">Urbit</a>
2020 <span class="gray3"> / </span>
21− <a class="section" href="/essays">
22− Essays
21+ <a class="section" href="/{{ page.components[0] }}">
22+ {% set sectionname = get_section(path=page.components[0] ~ "/_index.md") %}
23+ {{ sectionname.title }}
2324 </a>
2425
2526 {% include "partials/navigation-search.html" %}
@@ -33,9 +34,13 @@
3334 {% endif %}
3435 </span>
3536 {% 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>
3738 {% endif %}
3839{% 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+
3944 <article class="mb4 mt4 full grid12">
4045 {{ page.content | safe }}
4146
templates/index.html+52−52
@@ -146,34 +146,65 @@ content: " ↗";
146146 </section>
147147
148148 <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>
150153 <ul>
151− <li class="mt2">Simple, Durable, Yours</li>
152− <li class="mt2">Why "Only Urbit"</li>
153− <li class="mt2">Stories from the Future</li>
154− <li class="mt2">Interface</li>
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>
154+ {% set posts = get_section(path="understanding-urbit/_index.md") %}
155+ {% for page in posts.pages %}
156+ <li class="mt2"><a class="b--black bb" href="{{ page.permalink }}">{{ page.title }}</a></li>
157+ {% endfor %}
160158 </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>
161192 </nav>
162193</article>
163194<footer class="full-bleed mt4 grid12 bg-black white full pb6">
164195 <section class="full grid12 mb4">
165196 <nav class="c1-3-md c1-3-lg half-1 mt4">
166197 <h3>What is Urbit?</h3>
167− <li class="mt2">Project Overview</li>
168− <li class="mt2">Interface</li>
169− <li class="mt2">Infrastructure</li>
170− <li class="mt2">Azimuth</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>
200+ <li class="mt2"><a href="/understanding-urbit/interface">Interface</a></li>
201+ <li class="mt2"><a href="/understanding-urbit/urbit-id">Urbit ID</a></li>
171202 </nav>
172203 <nav class="c3-5-md c3-5-lg half-2 mt4">
173204 <h3>Contributing</h3>
174− <li class="mt2">How can I help?</li>
175− <li class="mt2">Operating Galaxies and Stars</li>
176− <li class="mt2">Governance</li>
205+ <li class="mt2"><a href="/contributing">How can I help?</a></li>
206+ <li class="mt2"><a href="/contributing#galaxies-and-stars">Operating Galaxies and Stars</a></li>
207+ <li class="mt2"><a href="/contributing#governance">Governance</a></li>
177208 <li class="mt2"><a href="/bounties">Security Bounties</a></li>
178209 </nav>
179210 <nav class="c5-7-md c5-7-lg half-1 mt4">
@@ -186,8 +217,8 @@ content: " ↗";
186217 <nav class="c7-9-md c7-9-lg half-2 mt4">
187218 <h3>Developers</h3>
188219 <li class="mt2"><a href="/docs">Documentation</a></li>
189− <li class="mt2">Core Development</li>
190− <li class="mt2">Application Development</li>
220+ <li class="mt2"><a href="/develop#core">Core Development</a></li>
221+ <li class="mt2"><a href="/develop#application">Application Development</a></li>
191222 <li class="mt2"><a href="https://grants.urbit.org">Grants</a></li>
192223 </nav>
193224 <nav class="c9-11-md c9-11-lg half-1 mt4">
@@ -199,8 +230,8 @@ content: " ↗";
199230 </nav>
200231 <nav class="c11-13-md c11-13-lg half-2 mt4">
201232 <h3>Install Urbit</h3>
202− <li class="mt2">Getting an Azimuth Point</li>
203− <li class="mt2"><a href="/install">Install</a></li>
233+ <li class="mt2"><a href="/install#id">Getting an Urbit ID</a></li>
234+ <li class="mt2"><a href="/install#urbit">Install</a></li>
204235 </nav>
205236 </section>
206237 <section class="full-bleed full grid12">
@@ -216,37 +247,6 @@ content: " ↗";
216247 <li class="mt2"><a href="https://twitter.com/urbit">twitter.com/urbit</a></li>
217248 <li class="mt2"><a href="https://github.com/urbit">github.com/urbit</a></li>
218249 </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>
250250 </section>
251251</footer>
252252{% 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 %}