on master help sign in
index.html: add latest posts, streamline landing
5ddaafeMatilde Park
templates/index.html+37−39
@@ -50,7 +50,43 @@
50 <p><strong>Urbit ID</strong> is a decentralized digital identity system. Your
50 <p><strong>Urbit ID</strong> is a decentralized digital identity system. Your
51 Urbit ID is a username, network address and crypto wallet designed for Urbit OS.</p>
51 Urbit ID is a username, network address and crypto wallet designed for Urbit OS.</p>
52 <p>Urbit OS + Urbit ID are designed to work together as a single system. Both are completely <a href="https://github.com/urbit/urbit">open source</a> for anyone to build on top of, play with and experiment with.</p>
52 <p>Urbit OS + Urbit ID are designed to work together as a single system. Both are completely <a href="https://github.com/urbit/urbit">open source</a> for anyone to build on top of, play with and experiment with.</p>
53− <p>Urbit is <i>not quite</i> ready for everyday users. But if you're curious, keep going ↓</p>
53+ <ul class="list">
54+ <li class="mt3">
55+ <a class="b--blue2 blue2 bb" href="/using/install/">Install + Setup</a>
56+ </li>
57+ <li class="mt3">
58+ <a class="b--green2 green2 bb" href="/docs/">Documentation</a>
59+ </li>
60+ </ul>
61+</section>
62+
63+
64+<section class="full lh-copy c-7-12-md c7-11-lg mt4">
65+ <p class="fw6">Latest Posts</p>
66+ {% set s = get_section(path="updates/_index.md") %}
67+ {% set e = get_section(path="blog/_index.md") %}
68+ {% set allposts = s.pages
69+ | concat (with=e.pages)
70+ | sort(attribute="date")
71+ | reverse
72+ %}
73+ {% for page in allposts | slice (end=2) %}
74+ <a class="bb-0" href="{{ page.permalink }}">
75+ <li class="mb2 list">
76+ <h2 class="f5 fw6 mt0 mb1">{{ page.title }}</h2>
77+ {% if page.extra.image %}
78+ <img class="db pv2 obj-cover h4 w-50" src="{{ page.extra.image }}" />
79+ {% endif %}
80+ <time class="mono f6">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
81+ <span class="mono f6">
82+ {% if page.extra.ship %}
83+ <address class="mono f6 mh2">{{ page.extra.ship }}</address>
84+ {% endif %}
85+ <a class="mono f6" href="/{{page.components[0] | lower}}">{{ page.components[0] | lower}}</a>
86+ </span>
87+ </li>
88+ </a>
89+ {% endfor %}
54</section>
90</section>
55
91
56<section class="full c2-7-md c3-7-lg mt5">
92<section class="full c2-7-md c3-7-lg mt5">
@@ -73,44 +109,6 @@
73 </ul>
109 </ul>
74</section>
110</section>
75
111
76−<section class="full c7-12-md c7-11-lg mt5">
77− <h1 class="mb3">Developer Resources</h1>
78− <p class="lh-copy mt1">If you're someone who likes playing with experimental software, you should dive right in. Booting an Urbit takes only a few minutes.</p>
79− <ul class="list">
80− <li class="mt3">
81− <a class="b--black bb" href="/using/install/">Install + Setup</a>
82− </li>
83− <li class="mt3">
84− <a class="b--black bb" href="/docs/">Documentation</a>
85− </li>
86− <li class="mt3">
87− <a class="b--black bb" href="/community/hoonschool">Hoon School</a>
88− </li>
89− <li class="mt3">
90− <a class="b--black bb" href="https://grants.urbit.org">Developer Grants</a>
91− </li>
92− </ul>
93−</section>
94−
95−<section class="full c2-7-md c3-7-lg mt5">
96− <h1 class="mb3">Learn More</h1>
97− <p class="lh-copy mt1">We share ongoing project developments, discuss technical considerations, and update our public roadmap as often as possible.</p>
98− <ul class="list">
99− <li class="mt3">
100− <a class="b--black bb" href="/blog">Blog</a>
101− </li>
102− <li class="mt3">
103− <a class="b--black bb" href="/updates/">Updates</a>
104− </li>
105− <li class="mt3">
106− <a class="b--black bb" href="/media">Media</a>
107− </li>
108− <li class="mt3">
109− <a class="b--black bb" href="/faq/">FAQ</a>
110− </li>
111− </ul>
112−</section>
113−
114<section class="full c7-12-md c7-11-lg mv5">
112<section class="full c7-12-md c7-11-lg mv5">
115 <h1 class="mb3">Stay Up to Date</h1>
113 <h1 class="mb3">Stay Up to Date</h1>
116 <p class="lh-copy mt1 mb3">
114 <p class="lh-copy mt1 mb3">