on master help sign in
Homepage start
9d50d42Matilde Park
sass/_main.scss+8
@@ -63,6 +63,14 @@ nav {
63 &.no-break {
63 &.no-break {
64 min-width: 168px;
64 min-width: 168px;
65 }
65 }
66+ &.home ul li {
67+ margin-top: 8px;
68+ margin-bottom: 8px;
69+ }
70+}
71+
72+aside {
73+ grid-area: auto / 7 / auto / 9;
66}
74}
67
75
68article {
76article {
templates/index.html+34−37
@@ -1,44 +1,41 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2{% block title %} {{ section.title }} {% endblock title %}
2{% block title %} {{ section.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4−{% include "partials/top-alert.html" %}
4+<nav class="home mt6">
5−<div>
5+ <p class="mb6 mt6">Urbit is your last computer</p>
6− <div>
6+ <h3>What is Urbit?</h3>
7− <div>
7+ <ul>
8− <h1>Urbit</h1>
8+ <li>Project Overview</li>
9− <p>A personal server built from scratch.</p>
9+ <li>Interface</li>
10− <ul>
10+ <li>Infrastructure</li>
11− <li>
11+ <li>Azimuth</li>
12− <h2>
12+ </ul>
13− <a href="{{config.base_url ~ "/primer/"}}">
13+ <h3 class="mt6">Contributing</h3>
14− Primer
14+ <ul>
15+ <li>How can I help?</li>
16+ <li>Operating Galaxies and Stars</li>
17+ <li>Governance</li>
18+ </ul>
19+ <h3 class="mt6">Learn</h3>
20+ <ul>
21+ <li><a href="/posts/essays">Essays</a></li>
22+ <li>Media</li>
23+ <li><a href="/faq">FAQ</a></li>
24+ </ul>
25+</nav>
26+<aside class="mt6">
27+ <section><h3 class="mt6 mb6">Latest Posts</h3>
28+ {% set s = get_section(path="posts/_index.md") %}
29+ {% for page in s.pages | slice(end=2) %}
30+ <a class="block fw-bold mt4 mb1" href="{{ page.permalink }}">{{ page.title }}</a>
31+ <address class="mono block mv1">{{ page.extra.ship }}</address>
32+ <time class="mono mr3">{{ page.date | date(format="~%Y.%m.%d") }}</time>
33+ <a class="mono" href="/posts/{{page.taxonomies.posts[0] | lower}}">
34+ {{ page.taxonomies.posts[0] | lower}}
15 </a>
35 </a>
16− </h2>
36+ {% endfor %}
17− <p>
37+ </section>
18− A 10-minute read on what Urbit is and why it exists.
38+</aside>
19− </p>
20− </li>
21− <li>
22− <h2>
23− <a href="{{config.base_url ~ "/posts/"}}">
24− Posts
25− </a>
26− </h2>
27− <p>
28− Regular updates, occasional essays and media.
29− </p>
30− </li>
31− <li>
32− <h2>
33− <a href="{{config.base_url ~ "/docs/"}}">
34− Docs
35− </a>
36− </h2>
37− <p>
38− Installation instructions and complete system documentation.
39− </p>
40− </li>
41− </ul>
42 <!-- footer -->
39 <!-- footer -->
43 {% include "partials/footer.html" %}
40 {% include "partials/footer.html" %}
44 </div>
41 </div>
templates/partials/footer.html−57
@@ -1,57 +0,0 @@
1−{% block content %}
2−<footer>
3− <section>
4− <div id="mc_embed_signup">
5− <h2>Updates</h2>
6− <p>Every month we send an email with community events and what we're up to.</p>
7− <iframe name="nothing" style="display:none;"></iframe>
8− <form action="https://urbit.us11.list-manage.com/subscribe/post?u=972a03db9e0c6c25bb58de8c8&amp;amp;id=be143888d2" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" target="_blank" novalidate>
9− <div id="mc_embed_signup_scroll">
10− <div >
11− <input type="email" name="EMAIL" id="mce-EMAIL" placeholder="your@email.com">
12− </div>
13− <div id="mce-responses" >
14− <div id="mce-error-response" style="display:none"></div>
15− <div id="mce-success-response" style="display:none"></div>
16− </div>
17− <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_972a03db9e0c6c25bb58de8c8_be143888d2" tabindex="-1" value=""></div>
18− <button id="mc-embedded-subscribe" type="submit" name="subscribe">
19− <span >Subscribe</span>
20− </button>
21− </div>
22− </form>
23− </div>
24− </section>
25− <section >
26− <h4>Follow</h4>
27− <ul>
28− <li>
29− <a href="https://twitter.com/urbit">twitter.com/urbit</a>
30− </li>
31− <li>
32− <a href="https://github.com/urbit/">github.com/urbit</a>
33− </li>
34− </ul>
35− </section>
36− <section>
37− <h4>Contact</h4>
38− <ul>
39− <li>
40− <a href="mailto:support@urbit.org">support@urbit.org</a>
41− </li>
42− </ul>
43− </section>
44− <section>
45− <h4>Company</h4>
46− <ul>
47− {% for item in config.extra.urbit_footer %}
48− <li>
49− <a href="{{ item.url | replace(from="$BASE_URL", to=config.base_url) }}">
50− {{ item.name }}
51− </a>
52− </li>
53− {% endfor %}
54− </ul>
55− </section>
56−</footer>
57−{% endblock content %}